From: John Gabriele Date: 2006-05-18T01:58:49+09:00 Subject: Re: is there "equalsIgnoreCase" in ruby? On 5/17/06, viswesh wrote: > Hi Johnson, > > can u please correct the code... > > puts " what is your name" > name = gets.chomp > > puts " hello "+ name+" how are you" > fine = gets.chomp > > if fine == "good".casecmp("goo") > #fine == "fine" or > #fine == "ok" or > #fine == "wonderfull" > puts " great" > else > puts "oh iam sorry" > end > > > thanx > > See "ri String#casecmp".