Template:Trim: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(not sure how this works tbh, copied it from MW. Unnamed params aren't supposed to be trimmed but I guess the #if does something magical?) |
(No difference)
|
Latest revision as of 04:06, June 26, 2020
[Edit Documentation] Trims whitespace from the beginning and end of the input.
Usage
{{Trim| input }}
Examples
"{{Trim| hello world }}"
→ "hello world"