Template:Trim

From Guild Wars Wiki
Jump to navigationJump to 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"