Template:Trim

From Guild Wars Wiki
Jump to: navigation, search


Description[edit]

{{trim|<text>}}
{{trim|text=<text>}}

This template trims leading and trailing white space from the given text.

Parameters[edit]

unnamed parameter 1
text
The text the template should work with.

Example[edit]

"{{trim|        some text        }}"

results in:

"some text"