Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Trim2/doc.

Overview

A quick template that gets rid of line breaks of the input string.

Usage

{{trim2|
 Lorem
 ipsum
 dolor 
 sit 
 amet.}}

Result: Lorem ipsum dolor sit amet.

Also, rips whitespace from the end and the beginning like Template:Trim.