Difference between revisions of "Template:Trim"
From Timelines
m (moved User:Dragons flight/str trim to Template:Str trim) |
|||
Line 1: | Line 1: | ||
− | {{#if:1|{{{1|}}}}} | + | <includeonly>{{#if:1|{{{1|}}}}}</includeonly><noinclude> |
+ | |||
+ | <nowiki>{{str_trim|</nowiki>''text''<nowiki>}}</nowiki> = ''text'' with any leading or trailing whitespace removed. | ||
+ | |||
+ | [[Category:String manipulation templates]] | ||
+ | </noinclude> |
Revision as of 17:29, 4 March 2009
{{str_trim|text}} = text with any leading or trailing whitespace removed.