Function Reference
— Function File: split (s, t, n)

Divides the string s into pieces separated by t, returning the result in a string array (padded with blanks to form a valid matrix). If the optional input n is supplied, split s into at most n different pieces.

For example,

          split ("Test string", "t")
                "Tes "
                  " s  "
                  "ring"
          split ("Test string", "t", 2)
                "Tes    "
                  " string"