Dominik Roettsches wrote:
> Hi there,
> I've been searching for a PHP implementation of the GNU textformatting tool
> fmt (http://www.gnu.org/software/textutils/textutils.html) which provides an
> almost optimal linebreak for your text.
> I'm not skilled in enough in C programming to implement such a feature for
> PHP but I'd really appreciate having this algorithm available in a simple
> PHP function.
> My question is, if there's anyone who is interested in implementing this for
> PHP, so that we can see it in one of the next releases?
> 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.


Manuel Lemos

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