User:Xar/String Trim

This template trims whitespace from a string. The string should be passed as the first unnamed parameter.

Usage
text with any leading or trailing whitespace removed.