From: Gunther Diemant Date: 2011-04-26T05:43:01+09:00 Subject: Re: Replace any multiple whitespaces with single white space --0016367d5300cc35ef04a1c44028 Content-Type: text/plain; charset=ISO-8859-1 There is also the build-in method squeeze!, which does exacly this str.squeeze!(" ") --0016367d5300cc35ef04a1c44028--