Re: Re: Suggestion: Adding fmt like linebreak algorithm
| From: | Brian Clark | Date: | Tue, 25 Dec 2001 23:27:45 +0000 |
| Subject: | Re: Re: Suggestion: Adding fmt like linebreak algorithm | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78743@lists.php.net to get a copy of this message | ||
* Manuel Lemos (mlemos@acm.org) [Dec 25. 2001 17:37]:
> > I think, the function would be very useful to do some pretty reformatting of
> > text when for example sending mail or in general doing text formatted
> > output.
> I have implemented exactly what you need in this class to compose and
> send MIME messages as it is important that messages to not have more
> than 75 characters per line.
> http://phpclasses.UpperDesign.com/browse.html/package/9
For 4.0.2 or greater, there's also:
<http://www.php.net/manual/en/function.wordwrap.php>
--
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
It's been lovely, but I have to scream now.