Vorlage:Strleft
Aus Kitakien
(Unterschied zwischen Versionen)
(optional subst) |
|||
Zeile 1: | Zeile 1: | ||
- | <includeonly>{{padleft:|{{{2|1}}}|{{{1}}}}}</includeonly><noinclude> | + | <includeonly>{{{{{subst|}}}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. |
Version vom 12:35, 7. Mär. 2009
{{str_left|text|number}} = Grabs the first number characters from text. Number defaults to 1.