Template:Trim

From The Orthorbbae Library
Jump to: navigation, search

Strips leading and trailing whitespace (spaces, newlines, tabs) from the argument. Useful when sanitizing unnamed template parameters, which preserve spaces by default (see this MediaWiki help page for more details )

Usage:

{{Trim|<text>}}}