split
Split a string using a given delimiter.
(u)=split(string)
(u)=split(string, delim)
Inputs
string The string to be split.
delim The delimiter to be used for splitting the string.
Outputs
u The array of strings obtained by breaking the input at each occurrence of the delimiter string.


Description
If the second input is not defined, the occurrences of one or more blanks are used to split the string.
Example
>>split("1 2; 4 5; 7 8;")
  1
  2;
  4
  5;
  7
  8;

>>split("1 2; 4 5; 7 8;",";")
  1 2
   4 5
   7 8