Template:Str left: Difference between revisions

From TestWiki
Content added Content deleted
(optional subst)
m (1 revision imported: Template)
Tags: Mobile edit Mobile web edit
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{{{{subst|}}}padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude>
<includeonly>{{safesubst:padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude>
{{documentation}}

<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<nowiki>{{str_left|</nowiki>''text''<nowiki>|</nowiki>''number''<nowiki>}}</nowiki> = Grabs the first ''number'' characters from ''text''. ''Number'' defaults to 1.

[[Category: String manipulation templates]]
</noinclude>
</noinclude>

Latest revision as of 10:58, 4 October 2020