Skip to main content
Skip table of contents

normalizeSpaces() Operation

Syntax
NONE
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
NONE
 set normalizedString = stringSet.s1.normalizeSpaces();
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.