trim
Trim removes leading and trailing whitespace, or the given character set.
Trim removes leading and trailing whitespace, or the given character set.
Input
string bytes
Parameters
| # | Type | Required |
|---|---|---|
| 0 | string | no |
Returns
string, bytes
Examples
{{ name | trim }}
{{ value | trim:',' }}How is this guide?