Return to Snippet

Revision: 9711
at November 18, 2008 08:23 by DesTincT


Initial Code
<?

$str="Hi, All";

$arr=preg_split("//", $str,-1,PREG_SPLIT_NO_EMPTY); 

print $str;
print "<pre>";
print_r($arr);


?>

Initial URL

                                

Initial Description

                                

Initial Title
String to array, where 1 element - 1 symbol (letter)

Initial Tags
php, array

Initial Language
PHP