User Guide : Using Content Extraction Language : Language Syntax and Examples : trim ( var );
 
Share this page             
trim ( var );
There are three forms of trim functions: trim, ltrim, and rtrim. The trim built-in function returns the value of var with leading and trailing spaces removed. Any spaces within the string var will not be affected.
Example
name = trim(" Mary Jane Smith "); #
assigns "Mary Jane Smith" to the name
#variable