"Erwin" <[EMAIL PROTECTED]> wrote... :

> > A string is already an array of chars
> >
> > $string = 'string';
> > echo $string[0]; // will echo 's'
> 
> True, but that's different than the array type. Sometimes you'll just need
> an array instead of a string.
> 
> Try using
> 
> $string = explode( '', 'string' );

I think this will fail. There is a function just for that, don't
remember right now what it was.


--
Maxim Maletsky
[EMAIL PROTECTED]


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

Reply via email to