String Trim Example

Demonstrates the removal of leadingĀ and trailing whitespace.

Smartsite SXML CopyCode image Copy Code
-{string.trim('  a bc    ')}-
Example Result CopyCode image Copy Code
-a bc-
SXML