It depends on how you want to do the split. Consider this function, which splits in groups of 100, leaving the remaining characters in the last array element returned:
function splitStr($str) {
$count = ceil(strlen($str) / 100);
$ret = array();
for ($i = 0; $i < $count; ++$i) {
$ret[] = substr($str, $i * 100, 100);
}
return $ret;
}
EDIT:
before you start complaining that it doesnt work the way you want it to, note that I'm writing it as an example - it obviously doesnt fit your requirements.