From: Tassilo Horn Date: 2006-03-13T23:18:44+09:00 Subject: Re: Quickest way to do this string op. eastcoastcoder@gmail.com writes: > What's the quickest way to turn "BOCA RATON" into "Boca Raton"? irb(main):006:0> str = "BOCA RATON" irb(main):009:0> str.gsub!(/\w+/) { |s| s.capitalize } => "Boca Raton" irb(main):010:0> str => "Boca Raton" Hope this helps. But I'm not sure if that's the fastest way in meaning of speed. At least it's the solution which crossed my mind first. ;-) Regards, Tassilo