split()

Splits a string.

Parameters

Name Type Description
text string The text to split
using string (Optional) The delimeter. Default is \n

Example

Documentation source:

{{ split(text: 'Line 1
Line 2') }}

{{ split(text: 'one,two', using:',') }}

Result:

Line 1
Line 2

one
two

See full example code here