ទំព័រគំរូ:Trim
This template trims whitespace from a string. The string should be passed as the first unnamed parameter.
Usage កែប្រែ
{{trim|text}} = text with any leading or trailing whitespace removed.
Example កែប្រែ
{{trim|abc}}
produces abc.
See also កែប្រែ
- {{StripWhitespace}} which does nearly the exact same thing.