Split

Splits a string based on a delimiter and returns a list of sub-elements.

Syntax

Split(string[, delimiter])
Decoupe(string[, delimiter])
string = the string you want to split
delimiter = the delimiter to use; if not specified, it will default to the comma

Remarks

If the delimiter is an empty string, the string will be returned as the only element in the list of results.

Examples

Split("banana,apple,pear") = { "banana", "apple", "pear" }
Split("12-04-10", "-") = { "12", "04", "10" }

Classification

Ranges Strings