Trim method (text)
Removes all leading and trailing white-space characters from this text.
Syntax
text.Trim
Returns the value of text with leading and trailing white-space characters removed.
Example
{% Var text = " Alpha bravo charlie " %}
{{ text.Trim }}
The above example would output: Alpha bravo charlie