Signature
StringList split(String str, String delim)
Parameters
str : string to be split
delim : delimiter
return value : a list of strings
Splits str into multiple strings using delim as the separator.
Every exact occurrence of delim creates a new entry in the returned StringList.
Example
print(join(split("a,b,c", ","), "|"), "\n");
Output
a|b|c