Function Split

Split(string, delimeter)
The function returns an array containing substrings of a string separated by delimeter Example:
Res = Split("hi, hello, howdy, welcome", ", ")
DrawText(10, 10, Res[1]) ' will print "hi"
DrawText(10, 30, Res[2]) ' will print "hello"
DrawText(10, 50, Res[3]) ' will print "howdy"
DrawText(10, 70, Res[4]) ' will print "welcome"
DrawText(10, 90, Res[5]) ' will print nothing, Res[5] is null

See also: