Split text transform action

Use case

You have a string that you would like to split each word/character by a delimiter to create a list.

Overview

A screenshot of the split text transform action, seen in the actions list menu of the workflow builder canvas.

Splits text on a delimiter into a list of strings.

Parameters

Parameter
Description
Required

Max Splits

The maximum number of splits. If not specified or -1, then there is no limit on the number of splits (all possible splits are made)

Seperator

Character or sequence of characters to split on (default is ), such as ' , ',':', etc.

Text to split

The string to be split.

Usage

Example: Splitting a string to get each word in a sentence or phrase

Inputs:

Max Splits: -1

Seperator: (no value was provided so default of space will be used)

Text to split: The quick brown fox jumps over the lazy dog

Results output

Result of Example:

[
  "The",
  "quick",
  "brown",
  "fox",
  "jumps",
  "over",
  "the",
  "lazy",
  "dog"
]

Last updated

Was this helpful?