Permalink
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (8 sloc) 276 Bytes

Removes whitespace at the start and end of a string.

For example:

{{ value|trim }}

When the value is " hello " then the output is "hello".

Internally, this calls z_string:trim/1 to perform the trimming.