From: itsme213 Date: 2005-09-15T05:46:34+09:00 Subject: Re: Quick and dirty word wrapping. "Kroeger Simon (ext)" wrote in message > it 'eats' chars... Yup. Lost the "b" in "b"roadcasting below. irb(main):007:0> str.scan(/(.{1,10})(?:\s+|$)/) => [["This is a"], ["test of"], ["the"], ["emergency"], ["oadcasting"], ["services"]]