On Saturday 07 December 2002 02:12, [EMAIL PROTECTED] wrote:
> Hello,
>
> "Rodrigo de Oliveira Costa" <[EMAIL PROTECTED]> wrote:
> > Hi guys, I got a string that I need to be transformed into na array of
> > characters, something like:
> >
> >
> > $str      ="im the one trying to do this";
> >
> > //this is the string
> >
> > I'd like to get an array that I can access something like $array[0] and
> > get the value " i ". And this foward. Anyone have any clues on this?
>
> You can actually treat $str "like" an array so
>
>   $str[0]
>
> would be "i".

This isn't officially endorsed anymore. You should use $str{0} instead.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
The new Congressmen say they're going to turn the government around.  I
hope I don't get run over again.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to