4WS.Platform provides a method to remove spaces to the left and right of a string:
trim(textToTrim);
this function will return the trimmed text;
trim(" abc ");
will return “abc” (without spaces on the left and right).
Last updated 5 years ago