Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Trim/doc.
Template:Trim: Difference between revisions
From Elwiki
(Created page with "<includeonly>{{safesubst:#if:1|{{{x|{{{1|}}}}}}}}</includeonly>") |
m (Protected "Template:Trim": Highly used pages/files/templates ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{safesubst:#if:1|{{{x|{{{1|}}}}}}}}</includeonly> | <includeonly>{{safesubst:#if:1|{{{x|{{{1|}}}}}}}}</includeonly><noinclude>{{Doc}}[[Category:Formats]]</noinclude> |
Latest revision as of 11:31, 14 March 2022
Overview
A quick template that strips whitespace from the beginning and the end of input string.
Usage
{{trim| Lorem ipsum }}
Result: Lorem ipsum