Re: Breaking a string

From: Date: Sun, 28 Oct 2001 23:46:41 +0000
Subject: Re: Breaking a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72656@lists.php.net to get a copy of this message
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.

« previous php.general (#72656) next »