Difference between revisions of "Template:Trim"
From Wazeopedia
m (Deeploz moved page Template:LiveMapUpdates to Live Map updates without leaving a redirect: de-templatized to reduce complexity) |
m (3 revisions imported) |
||
Line 1: | Line 1: | ||
− | + | <includeonly>{{ {{{|safesubst:}}}#if:1|{{{1|}}}}}</includeonly><noinclude> | |
− | + | {{Documentation}} | |
− | + | </noinclude> | |
− |
Latest revision as of 10:52, 30 November 2015
This template trims whitespace from a string. The string should be passed as the first unnamed parameter.
Usage
{{trim|text}} = text with any leading or trailing whitespace removed.
Example
- {{trim| abc}} produces abc.
![]() |
The above documentation is transcluded from Template:Trim/doc. Please add categories to the /doc subpage. Subpages of this template. |