Template:Trim2

From Elwiki
Revision as of 10:44, 14 March 2022 by Ritsu (talk | contribs) (Created page with "<includeonly>{{#regexall:{{{1|}}}|/\n/|}}</includeonly><noinclude>{{Doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

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