Difference between revisions of "Modèle:Trim"

From Wazeopedia
(Double redirect fix)
(Page créée avec « <includeonly>{{ {{{|safesubst:}}}#if:1|{{{1|}}}}}</includeonly><noinclude> {{Documentation}} </noinclude> »)
 
Line 1: Line 1:
#REDIRECT [[Editing rank]]
+
<includeonly>{{ {{{|safesubst:}}}#if:1|{{{1|}}}}}</includeonly><noinclude>
 +
 
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 15:06, 23 February 2017


Documentation icon Template documentation[view] [edit] [history] [purge]

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 Modèle:Trim/doc.
Please add categories to the /doc subpage.
Subpages of this template.