Removing unnecessary blank spaces in text records - 7.0

Talend Data Preparation Quick Examples

Talend Documentation Team
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
Data Quality and Preparation > Cleansing data
Talend Data Preparation

Blank spaces can be present before and after the content from each cell.

They are more likely to be present in columns containing data manually entered by someone, such as a name or a phone number. These spaces are shown as grey squares.

You can see that the first_name column contains some entries with blank spaces.


  1. Select the first_name column.
  2. In the functions panel, type Remove trailing and leading characters and click the result to open the options for the associated function.
  3. In the Padding character drop-down list, select Whitespace and click Submit.

    You have the possibility to output the result of this function in a new column by selecting the Create new column check box.

  4. Repeat this action for every column containing blank spaces.


Blank spaces are removed from the selected column.