RTFM:
Example 2. Splitting a string into component characters. <BLOCKQUOTE><font size="1" face="Verdana, Tahoma, sans-serif">code:</font><HR><pre> $str = 'string'; $chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY); print_r($chars); </pre><HR></BLOCKQUOTE>
|