Hi jtjohnston,

@ 2:16:38 AM on 11/10/01, jtjohnston wrote:

> $string = "Mary had a little lamb whose face was icy cold. Everywhere
> that Mary went the townsfolk were sure to know";

> I want to display the text where the max number of  characters on any
> one line is 34.

> 1234567890123456789012345678901234
> Mary had a little lamb whose face
> was icy cold. Everywhere that
> Mary went the townsfolk were
> sure to know.

> Where would I start?

PHP 4.0.2 or greater?

http://www.php.net/manual/en/function.wordwrap.php

If not, check out the user notes at the bottom.

--
 -Brian Clark | PGP is spoken here: 0xE4D0C7C8
  Please, DO NOT carbon copy me on list replies.


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