Template:Trim: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
https://en.wikipedia.org/wiki/Template:Trim
 
Fredg999 (talk | contribs)
Trying Wikipedia's version of Template:Trim (to fix issues with other templates transcluding this template)
Line 1: Line 1:
<includeonly>{{ {{{|safesubst:}}}#if:1|{{{x|{{{1|}}}}}}}}</includeonly><noinclude>
<includeonly>{{safesubst:#if:1|{{{1|}}}}}</includeonly><noinclude>


This template trims leading and trailing (but not interior) whitespace from a string
This template trims leading and trailing (but not interior) whitespace from a string

Revision as of 05:58, 29 May 2023


This template trims leading and trailing (but not interior) whitespace from a string