Dashboard > APATAR FUNCTION GUIDES > Apatar Function Guides > Trim Function
  APATAR FUNCTION GUIDES Log In | Sign Up   View a printable version of the current page.  
  Trim Function
Added by Alexander Pipko, last edited by Alex Khizhnyak on Jul 02, 2008  (view change)
Labels: 
(None)

This guide will help you learn how to remove extra blank spaces (if any) from the right and left side of a string using Apatar.

Configuration

To start removing blank spaces with the Trim function,

  1. Configure data sources and provide the mapping



    In this example, we will use the following table as a source:



  2. Open the Transform node
  3. Switch to the Functions tab
  4. Click on the String section to find the Trim icon
  5. Drag-and-drop it to the Transformation's work panel



  6. Switch back to the Inputs tab and map the input and output fields according to the picture below



  7. Press Ok and close the Transformation window

Now the output table will contain the strings without extra blank spaces from the left and right side of the Column field strings.

Preview

To preview the results, right-click on the output node and select "Preview Results". The following window will pop up:

           

Close the window and continue data integration.

See also

     Left Trim Function

     Right Trim Function


Site running on a free Atlassian Confluence Open Source Project License granted to Apatar Data Integration (ETL). Evaluate Confluence today.
Contact Administrators