Template:Trim

From Guild Wars Wiki 中文站
Revision as of 16:10, 28 December 2008 by gww>Poke (cleanup & categorization)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Description

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

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

Parameters

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

Example

"{{trim|        some text        }}"

results in:

"some text"