Open main menu

mtgpq wiki β

Template:Trim

Usage

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

Example

The following shorthand:

>{{Trim|
    test string

}}<

Produces:

>test string<