Open main menu

mtgpq wiki β

Template:Trim

Revision as of 01:02, 18 February 2019 by Volrak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Trim any leading and trailing whitespace (including newlines) from the given parameter.

Example

The following shorthand:

>{{Trim|
    test string

}}<

Produces:

>test string<