Difference between revisions of "Template:Trim"

From Timelines
Jump to: navigation, search
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.