Split

This Flow Script tutorial explains how to use the Split function with syntax and examples.

Description

The Split function divides the input string into substrings separated by the delimiter, returning a new table variable with a single value column containing the sub-strings.

Syntax

‌The syntax for the Split function is:

Split(input, delimiter)

Parameters

input - the input to be split.

delimiter - the character defining where the input is to be split. Must be exactly one character long.

Returns

‌The Split function returns a table with one column named "value".

Example

Let's look at some Split function examples and explore how to use the Split function.‌

Split("2,89,16", ",")
Result: a table variable with one "value" column, containing three rows: 
value = 2, value = 89 and value = 16

Last updated