Awee

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

#TypeRequired
0stringno

Returns

string, bytes

Examples

{{ name | trim }}
{{ value | trim:',' }}

How is this guide?

On this page