Template:Trim2

From Elwiki
Revision as of 11:05, 14 March 2022 by Ritsu (talk | contribs)
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: Loremipsumdolorsitamet.

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