Skip to main content
string-explode Takes the given input string and converts it to an array/list based on a specified split character.

Fields

Delimiter

The character which is used to split the given input string. For example if you want to separate the following string: this-is-exploded-to-a-list with a delimiter of – the following will be the output:
[
    "this",
    "is",
    "exploded",
    "to",
    "a",
    "list"
]

Limit

When not everything needs to be separated a limit can be set. Default no limit is applied and everything is split. This defines the amount of returned list items. For example splitting the following string with a delimiter of – and a limit of 2 will return the following: this-is-exploded-to-a-list
[
    "this",
    "is-exploded-to-a-list"
]

Sample data

InputDelimiterLimitOutput
this-is-exploded-to-a-list-[“this”, “is”, “exploded”, “to”, “a”, “list”]
this-is-exploded-to-a-list-2[“this”, “is-exploded-to-a-list”]