On Fri, 26 Oct 2001 22:36, Dan McCullough wrote:
> I was looking to take a string like Dan or Dan is great and return it
> like
>
> D
> a
> n
>
> or
>
> D
> a
> n
>
> i
> s
>
> g
> r
> e
> a
> t
>
> is it the str function that does that and if so does someone have an
> example?
>
> thanks

You can dealt with the string as if it were an array of characters.
Or you could use substr to work your way through the string.
-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   Useless Invention: Strap-on portable chairs.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to