ទំព័រគំរូ:Trim/doc
Appearance
This is a documentation subpage for ទំព័រគំរូ:Trim. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
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.
Description of all string templates