Syntax
set aNormalizedString = aString.normalizeSpaces()
set aNormalizedString = normalizeSpaces(LITERAL)
SemanticsRemoves all leading and trailing spaces and reduces the occurrence of a number of consecutive white spaces (spaces, new lines, carriage returns, and tabs) located between parts of a string to one space. Returns a new string. The state of the current string is not changed.
SubstitutablesaString Can be any variable or object attribute having the type String.  
LITERAL String literal.
Examples
 set normalizedString = stringSet.s1.normalizeSpaces();
  • No labels