The jcs:split() function splits a string into an array of substrings based on the regular expression pattern. If the optional argument limit is specified, only substrings up to the limit are returned.
jcs:split($pattern, $string, [$limit])