From: Jeff Coleman Date: 2006-03-13T22:53:56+09:00 Subject: Re: word_wrap method for String? Lou Vanek wrote: > everthing old is new again. > you might also want to compare speeds. Yours might be faster. > -lv It's my first time using the profiler, but if I'm reading this correctly-- It took my version 27 seconds to do 6000 word_wraps. Your regexp version did the same in 2.4 seconds :) Jeff Coleman -- Posted via http://www.ruby-forum.com/.