Hi, I intend to package the Perl module Text::Format which provides the following functions to format (text) paragraphs:
format() Format text into a paragraph. Text is first broken into words and then joined back together to make up the paragraph. There are numerous attributes you can set to your liking. paragraphs() Treats each element of the array passed in as a separate paragraph and passes them to format() for formatting. The list returned will be then formatted into separate paragraphs. center() Centers all the lines that were passed in. expand() Expand tabs into spaces. unexpand() Turn spaces into tabs. First calls expand() to expand tabs into spaces and then turns tabstop number of spaces into tabs, you can set tabstop size with tabstop(). Thanks, Ardo -- Ardo van Rangelrooij home email: [EMAIL PROTECTED], [EMAIL PROTECTED] home page: http://www.tip.nl/users/ardo.van.rangelrooij PGP fp: 3B 1F 21 72 00 5C 3A 73 7F 72 DF D9 90 78 47 F9