Re: Easy stupid question
| From: | Rasmus Lerdorf | Date: | Sun, 02 Jul 2000 20:35:05 +0000 |
| Subject: | Re: Easy stupid question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4395@lists.php.net to get a copy of this message | ||
> Just wondering - how would I split a string into an array with each
> character being a new value in the array...
That is the very definition of a string. For example, try this:
$str = "abc";
echo $str[1];
You will find that it prints: b
-Rasmus