Splits a String object into an array of strings by separating the string into substrings.
Syntax
Parameters
Returns
The result of the split method is an array of strings split at each point where delimiter occurred in stingObj. If you use an empty string ("") as a delimiter, each character in the string is placed as an element in the array.
Example
s = "This is an example of String.split";
r = s.split(" ");
trace(r);
//output: This,is,an,example,of,String.split