From: James Britt Date: 2006-03-13T23:26:55+09:00 Subject: Re: Quickest way to do this string op. Peter Palmer wrote: > Answer : No you can't. Please ignore me ;) Do we ignore the message asking us to ignore you? :) Anyway, you were on the right track, but the string needs to be chunked on white space, then regrouped. "BOCA RATON".split( /\s/ ).map{ |w| w.capitalize }.join( ' ' ) If one tends to do this a lot, it can be added as an instance method to String: class String def titlize self.split( /\s/).map{ |w| w.capitalize }.join( ' ' ) end end "BOCA RATON".titlize -- James Britt �Design depends largely on constraints.� � Charles Eames