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".

If you're after something else, check the archives for more info:

  http://marc.theaimsgroup.com/?t=100526380400016&r=1&w=2

- E

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

Reply via email to