Template:Trim/doc

This template trims leading and trailing (but not interior) whitespace from a string. The string should be passed as the first unnamed parameter. The parameter must be named  if its value contains a   character.

Usage
text = text with any leading or trailing whitespace removed.

Examples

 * "abc" produces ""
 * "xyz" produces ""
 * "abc xyz" produces ""