Template:Trim

From Elwiki
Notebook.png
Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Trim/doc.

Overview

A quick template that strips whitespace from the beginning and the end of input string.

Usage

{{trim|    Lorem ipsum     }}

Result: Lorem ipsum