Re: Array Problem
| From: | Arthur Radulescu | Date: | Sat, 17 Apr 2004 17:38:46 +0000 |
| Subject: | Re: Array Problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183727@lists.php.net to get a copy of this message | ||
> That's how you could do it ...
>
> $ar = array();
>
> $len = strlen($a);
> for ($i = 0; $i < $len; ++$i) {
> $ar[] = $a{$i};
> }
If I remember well strlen is used for checking the length of a string...
Arthur
____________________________________________________
Looking for a job!? Use the smart search engine!!
Find a Job from Millions WorldWide...
http://search.jobsgrabber.com
____________________________________________________