From: Chad Perrin Date: 2007-04-27T18:46:08+09:00 Subject: Re: using Ruby for line-wrapping On Fri, Apr 27, 2007 at 06:38:45PM +0900, Martin DeMello wrote: > On 4/27/07, Chad Perrin wrote: > >I don't necessarily need code examples -- but if anyone has ideas for a > >best approach to specifying a line wrap width (breaking between words > >for lines no longer than a specific column width) for output from a Ruby > >script, I'd love to hear about it. > > Check out Text::Format Thanks. I'll give it a look. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr("Just another Perl hacker", 0, -2);