Removing whitespaces - 2.3

Talend Data Preparation Getting Started Guide

author
Talend Documentation Team
EnrichVersion
6.5
2.3
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Data Quality and Preparation > Cleansing data
EnrichPlatform
Talend Data Preparation

If some whitespaces have been mistakenly introduced in your data, you can apply the Remove Whitespaces function to clean them.

There is still some work to do in the FIRST_NAME column, as well as the LAST_NAME column. Indeed, you can see white boxes in front or behind some names.

To remove the whitespaces in the cells, proceed as follows:

Procedure

  1. Click the header of the FIRST_NAME column to select its content.
  2. While keeping the Ctrl button pressed, click the header of the Last_Name column.

    The two columns are now selected, and you can apply a function to both columns in one action.

  3. In the list of functions, click Remove trailing and leading characters to open the options for the associated function.
  4. In the Padding character drop-down list, select whitespace and click Submit.

    The white boxes have disappeared from the cells in both columns.