Difference between revisions of "Template:Trim"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Eave
m (simplifying logic)
>Eave
m (simplifying logic)
 
(No difference)

Latest revision as of 03:56, 14 July 2020

50px Documentation

This template trims whitespace from the beginning and end of the supplied value. It works by using the simple hack of filtering it through the #if parser function.

Usage:

{{trim|  value }}