FANDOM


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?)
Community content is available under CC-BY-SA unless otherwise noted.