Template:Trim/doc

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
= text with any leading or trailing whitespace removed.

Example
produces.