From: Ralph Shnelvar Date: 2010-12-09T09:02:09+09:00 Subject: Re: Splitting on capital letters ------------AB1B71D83FCBF69F Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit JB> Whether or not this is a good way may be up for debate, but it's *a* way: irb(main):001:0>> "BenefitsAndFeatures".split(/([[:upper:]][[:lower:]]*)/).delete_if(&:empty?).join("-") =>> "Benefits-And-Features" This is sooo far beyond my skill level. I'm gonna have to study this one for a while. Thanks! Ralph ------------AB1B71D83FCBF69F--