$check="6006033411730116402021922";
function splice($chunk) {
for ($i=0; $i!=strlen($chunk)-1; $i++) {
$s = array();
$s[$i] = substr($chunk, $i,1);
}
return $s
}
I use the above funtion to split a string like $check apart. There are only numbers in $check.
I have not done with function much as of yet, I would like the function to return an array off all spliced values.
e.g if $chunk is "12345"
I'd like it to return
$s[0]=1
$s[1]=2
$s[2]=3
and so on. I seem to be missing something in my source. Thank you for any help.
cdX