Re: [PHP] Suggestion: Adding fmt like linebreak algorithm

2001-12-25 Thread Bogdan Stancescu
You may use these two and not have to bother what version of PHP your script runs on. Note that you may have to edit wordwrap if you need to chop exceedingly long words (this code allows long lines in this case). Please let me know if you use/optimize this. HTH Bogdan

[PHP] Suggestion: Adding fmt like linebreak algorithm

2001-12-25 Thread Dominik Roettsches
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 rea