Returns a list consisting of portions of the string split according to the separator string, where specified. The separator does not appear in the output string. For example,
text.split("Split this string", " ") results in the list
["Split", "this", "string"].
If the separator is not specified, the split will occur on all whitespace characters.
If the text is not split because the separator does not occur in the string, the function returns a list containing the whole string as its only member.
The separator is optional in BMC Discovery 8.3 and later.