From: 7stud -- Date: 2009-07-22T13:59:07+09:00 Subject: Re: String spliting and inclusion David A. Black wrote: > Try this. I don't guarantee robustness. > > str.scan(/\b.{0,50}(?:$|\b)/m) > Oh my. -- Posted via http://www.ruby-forum.com/.