reference:evaluator:explode

Explode(
     string:string,
     [string:separators],
     [int:limit],
     [string:flags]
)
array

Arguments

string

Input string.

separators

Optional. Separators to split on.

limit

Optional. Maximum number of strings to split.

flags

Optional. Flags.

Return value

Array of split strings.

Description

Splits an input string into an array of smaller strings.

If separators aren't specified it will split on spaces by default. The optional limit argument specifies the maximum number of strings to add to the array. Specify 0 for no limit.

The optional flags are:

qHandle quoted strings. Spaces will be ignored within quotes.
QHandle quoted strings, and remove quotes in the ouptut array.

Example:

Output(Explode("The quick brown fox"));
--> {"The", "quick", "brown", "fox"}

See also: Implode