Wikisage, the free encyclopedia of the second generation and digital heritage, wishes you merry holidays and a happy new year!

Template:Trim

From Wikisage
Jump to navigation Jump to search
Template description
Purpose

This template is for trimming whitespace from strings.

Use

The string should be passed as the first unnamed parameter. You may substitute this template - that is, if used as {{subst:trim}}, the resulting wikicode is "clean".

Example

"{{trim| a b c}}" produces "abc"