STEPHEN BECKER I V wrote: > does that work for end lines in the middle of a string? or a tab? I > mean all white space.. What's wrong with str.gsub!(/\s/, ''), or similar ? (I clicked looking for a wish list. I can't think of anything either...) -- Phlip http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces