NormalizeSpace - 8.0

Talend Data Mapper Functions Reference Guide

Version
8.0
Language
English
Product
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs
Last publication date
2023-10-26

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.