Return to Snippet

Revision: 14774
at June 11, 2009 06:45 by roflman79


Initial Code
function str_split($str) {
$str_array=array();
$len=strlen($str);
for($i=0; $i<$len; $i++) {
$str_array[]=$str{$i};
}
return $str_array;
}

Initial URL
http://kl93.blogspot.com/2007/07/emulate-php5-strsplit-in-php4.html

Initial Description
Taken from Doug Sparling's Blog

Initial Title
str_split in PHP4

Initial Tags
php

Initial Language
PHP