This template trims whitespace from a string. The string should be passed as the first unnamed parameter.

{{trim|text}} = text with any leading or trailing whitespace removed.

  • {{trim| abc}} produces abc.

Description of all string templates