$trim(expr) removes leading and trailing spaces from the value of the argument, which must be a field reference or an expression that evaluates to a string
For example, if ${name} is “Fred ”, then the following expression will return “Fred”:
$trim(${name})
In the following example, if the value of ${partno}:${location} is “ P1234-56-C:SJC ”, the expression will return “P1234-56-C:SJC”:
$trim(${partno}:${location})