On Thursday 25 April 2002 00:14, Kirk Babb wrote: > I have a feeling I am making this much harder than it really is! I'm a new > programmer, and I am trying to output "x" number of characters per line > without splitting up the words in the string. I want to approach as best > as possible a certain number of characters per line, let's say 80 > characters, and then cycle through the remaining parts of the array to > reconstruct the string in the same manner.
Have you tried the wordwrap() function? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* There's nothing worse for your business than extra Santa Clauses smoking in the men's room. -- W. Bossert */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php