From: Raveendran Jazzez Date: 2008-07-23T13:18:12+09:00 Subject: Re: how to capitalize a number of characters in a word 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 http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.