Removing whitespaces - 7.3

Talend Data Preparation Getting Started Guide

Version
7.3
Language
English
Product
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
Module
Talend Data Preparation
Content
Data Quality and Preparation > Cleansing data
Last publication date
2023-01-05

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.