s:trim

Remove space from beginning and end of a string.

<s:trim> removes all whitespace characters (tabs, spaces, and newlines) from both the beginning and end of a string. It does not affect spaces between words.

INPUT
<s:trim>hi there   </s:trim>!
OUTPUT
hi there!