Skip to content

Trim

Input
value
Trim whitespace from value
transformation:
trim

Remove leading and trailing whitespace

source:value
Output
value
spaced
ends
start
clean

Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.

Remove leading and trailing whitespace.

Parameters

This operation has no configurable parameters.

Field selection

  • source — Field whose values this operation reads. Omit to apply to all fields on the row.
  • target — Optional output field. When omitted, the source field is updated in place.

JSON Configuration

{
"id": "op-trim",
"type": "transformation",
"action": "trim",
"params": {},
"testInputs": [
" spaced ",
" ends",
"start ",
"clean",
"",
" "
]
}