Re: Array Problem
| From: | Daniel Clark | Date: | Sat, 17 Apr 2004 18:06:40 +0000 |
| Subject: | Re: Array Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183732@lists.php.net to get a copy of this message | ||
How about count()
>>That's how you could do it ...
>>
>>$ar = array();
>>
>>$len = strlen($a);
>>for ($i = 0; $i < $len; ++$i) {
>> $ar[] = $a{$i};
>>}
>>
>>HTH
>>
>>Richard