Re: string into array
| From: | Richard Baskett | Date: | Thu, 27 Sep 2001 22:47:00 +0000 |
| Subject: | Re: string into array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69063@lists.php.net to get a copy of this message | ||
Actually it already is an array :)
If you print $str[0] you'll get 't'
Rick
> I need to take a string and read it into an array character by character
> here is an example
>
>
>
> $str="this is a string";
>
> so if I printed $array[0] would be = t
>
> can somebody help?
>
> Thankyou.
>
> Randy
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>