Split Procedure

Splits a delimited string into a list of strings.
Often the input string is comma-separated, but any delimiter can be used.
Declaration
function Split(
input as String, separator as String
) as List of String

Parameters

Return value

List of String — A list of strings, like ["a", "b", "c"].

Possible error codes

Example

Code
dim x = Split("a,b,c", ",")
print x(0)
print x(1)
print x(2)
Output
a
b
c