Difference between revisions of "Template:Trim/doc"

From Wazeopedia
(Added Category)
(updated wiki link)
Line 1: Line 1:
{{doc subpage}}
+
#REDIRECT [[Road_closures]]
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
 
 
 
This template trims whitespace from a string. The string should be passed as the first unnamed parameter.
 
 
 
== Usage ==
 
<nowiki>{{trim|</nowiki>''text''<nowiki>}}</nowiki> = ''text'' with any leading or trailing whitespace removed.
 
 
 
== Example ==
 
* <nowiki>{{trim| abc}}</nowiki> produces {{trim| abc}}.
 
 
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
[[Category:Page Formatting Templates]]
 
[[Category:Expand Template Documentation]]
 
 
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
 
 
</includeonly>
 

Revision as of 05:07, 21 March 2014

Redirect to: