Split

Strings Pure
Split
Text
Result
Separator ,

Description

Pure function splitting text on a literal separator and returning the resulting parts as a string array. The separator is matched literally — no regular expressions. An empty separator returns the original text as a single-element array.

When to use

Use Split to decompose a delimited string into individual parts — for example, parsing a comma-separated list of tags or splitting a path on “/”. Feed the resulting array into For each to process each part individually, or use Array at to access a specific element by index. To reassemble the parts after transformation, use Join.

Pins

Input pins

Pin Type Default Notes
Text string The string to split. If text is empty, the result is a single-element array containing the empty string.
Separator string , The literal delimiter to split on. An empty separator returns the original text as a single-element array.

Output pins

Pin Type Notes
Result string[] Array of substrings between each separator occurrence. Includes empty strings for consecutive separators.

Example

Iterate over a comma-separated list of email addresses and send each one a notification. Wire the recipients string into the Text input of Split with Separator set to ",", then pass the Result output into the Array input of For each. On the Loop body execution output, wire the Element output into the To input of Send email — each address receives the notification in turn.

See also