From: Todd Benson Date: 2008-07-23T13:42:05+09:00 Subject: Re: how to capitalize a number of characters in a word On Tue, Jul 22, 2008 at 11:18 PM, Raveendran Jazzez wrote: > Cheyne Li wrote: >> Hi, there >> >> For example, how can i get "HelLoha" from "helloha" >> >> Looking forward to hearing from you. Thanks in advance > > Hi Li, > > irb(main):016:0> a="HelLoha" > => "HelLoha" > irb(main):017:0> a.downcase > => "helloha" > irb(main):018:0> > > Regards, > P.Raveendran There must be a language barrier. I thought the point was to turn 'helloha' _into_ 'HelLoha', and not the reverse. Todd