Template:Trim/doc
Mataridziko
Template:Documentation subpage Template:High-risk Template:Notice
This template trims whitespace from a string. The string should be passed as the first unnamed parameter. You may substitute this template - that is, if used as Template:Tlxs, the resulting wikicode is "clean".
Usage
[chinjirudza mabviro]{{trim|text}} = text with any leading or trailing whitespace removed.
Example
[chinjirudza mabviro]- "Template:Tlx" produces "abc"
Template data
[chinjirudza mabviro]The template trims whitespace from a string.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| String | 1 | The string to be trimmed of whitespace | String | required |
See also
[chinjirudza mabviro]- {{crop}}