Difference between revisions of "Template:Str left"
Jump to navigation
Jump to search
imported>Happy-melon (optional subst) |
imported>Happy-melon m (Reverted edits by Happy-melon (talk) to last version by Dragons flight) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> |
<nowiki>{{str_left|</nowiki>''text''<nowiki>|</nowiki>''number''<nowiki>}}</nowiki> = Grabs the first ''number'' characters from ''text''. ''Number'' defaults to 1. | <nowiki>{{str_left|</nowiki>''text''<nowiki>|</nowiki>''number''<nowiki>}}</nowiki> = Grabs the first ''number'' characters from ''text''. ''Number'' defaults to 1. |
Revision as of 18:35, 23 March 2009
{{str_left|text|number}} = Grabs the first number characters from text. Number defaults to 1.