Suggestion: Adding fmt like linebreak algorithm
| From: | Dominik Roettsches | Date: | Tue, 25 Dec 2001 12:58:31 +0000 |
| Subject: | Suggestion: Adding fmt like linebreak algorithm | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74941@lists.php.net to get a copy of this message | ||
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.
Thanks for your replies in advance,
Dominik