it would be nice a new identifier $regtok that the separator will be a regular expression, like:
$regtok(blah1bla2test,2,\d)
the separator is a digit so it will return bla
$regtok(asfjlasfOsfjkahsfjasPsafjsahfkj,0,[A-Z])
will return 3..
etc