Template documentation (for the above template, sometimes hidden or invisible)
This template trims whitespace from a string. The string should be passed as the first unnamed parameter. Code sourced from Wikipedia, The Free Encyclopedia: http://en.wikipedia.org/wiki/Template:Trim.
Usage
{{trim|text}} = text with any leading or trailing whitespace removed.
Example
{{trim| abc}} produces abc.
Visit Template:Trim/doc to edit this text! (How does this work?)
- Editors can experiment with this template in its sandbox. (edit)
- Please add categories and interwikis to the /doc subpage. Subpages of this template.
Community content is available under CC-BY-SA
unless otherwise noted.