Trim String

Removes specified characters from the start or end of a string.

Step name
Defines the name for a step. Provide a meaningful name so that anyone who edits transformation steps in a pipeline will be able to identify the purpose of a step.
Columns
Specifies columns to transform. Click to view the list of column names. Column names listed here correspond to the column names in the dataset inspection table. Click in the drop-down list to select or clear check boxes next to column names. Alternatively, click column headings in the inspection table to select or clear check boxes next to the corresponding column names in this box. To add a column to the selection, you must press the the Ctrl key when you click a column heading.
Direction
Choose one of the following options:
  • Left removes leading characters from the start of a string.
  • Right removes trailing characters from the end of the string.
  • Both removes leading and trailing characters from a string.
Characters to remove
Specifies one or more characters that will be removed from the start or the end of a string.
Maximum to remove
Specifies the maximum number of characters that will be removed from the selected direction. If no value is specified, all instances of the specified characters will be removed from the selected direction until the first unspecified character.
Save
Click this button to close settings and save changes to the transformation settings.
Preview
Click this button to preview the results of the transformation settings.
Cancel
Click this button to close settings for this transformations without saving any changes.