Skip to main content Skip to complementary content
Close announcements banner

NormalizeSpace

Removes excess whitespace.

The NormalizeSpace function removes excess leading or trailing whitespace. If there are multiple spaces between words in the value of the map element, they are reduced to one space. Any whitespace non blank characters are removed. This is identical to the XPath fn:normalize-space function. If you don't want to disturb the non-leading and trailing spaces, use the Trim function.

Arguments

Variable arguments Add the String from which you want to remove excess whitespace as arguments. It can be a structure element or a function.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!