Template:Trim

From Path of Exile 2 Wiki
Revision as of 02:49, 30 December 2024 by Blvcksvn (talk | contribs) (3 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

This template trims leading and trailing (but not interior) whitespace from a string. The string should be passed as the first unnamed parameter. The parameter must be named |1= if its value contains a = character.

This template was adapted from Template:Trim on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.