← All nodes
Cleaning

Trim Whitespace

Removes leading and trailing whitespace from the values in one column.

When to use it

Use it right after an import when stray spaces from a spreadsheet or CSV would break joins, grouping or duplicate detection.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
ColumnselectYes—

Example

Clean up imported customer names

  • Column=Customer
Input rows
OrderCustomer
A-1 Acme Ltd
A-2Bright Co
Result
OrderCustomer
A-1Acme Ltd
A-2Bright Co

Spaces at the ends are removed; the space inside Acme Ltd is kept.

Worth knowing

  • Only the ends are trimmed; use Regex Replace to collapse repeated spaces inside a value.
  • One column per node, so add several nodes when a file needs more than one cleaned.
  • Null and missing cells become empty text, which Fill Null Values can then replace.

Others in Cleaning