Template:Trim

From mtgpq wiki
Jump to: navigation, search

Usage

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

Example

The following shorthand:

>{{Trim|
    test string

}}<

Produces:

>test string<