Difference between revisions of "Template:Str left"
Jump to navigation
Jump to search
imported>Dragons flight |
imported>Dragons flight |
||
Line 1: | Line 1: | ||
<includeonly>{{padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> | <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.</noinclude> | + | <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> |
Revision as of 03:16, 27 February 2009
{{str_left|text|number}} = Grabs the first number characters from text. Number defaults to 1.