Posted by Geoff Berrow on 11/11/98 11:20
I noticed that Message-ID: <42c8734a$1_1@spool9-west.superfeed.net> from
Exyle contained the following:
>$string = "Hello";
>
>for($i = 0; $i < strlen($string); $i++) {
> $array[$i] = substr($string, $i, 1);
>}
<fx: smacks forehead> Of course, that's much easier that using
$string{n}
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|