From: Lake Denman Date: 2011-09-01T00:41:12+09:00 Subject: Re: Deaf Grandma Program doesn't work right Read the documentation. It helps understanding. http://ruby-doc.org/core/classes/String.src/M001128.html Good luck! On Aug 31, 2011, at 11:28, Samuel Mensah wrote: >> Try like this: question == question.upcase[0...-1]+'?' > > That did the trick :) thanks a lot. That said though, I don't understand > what the "[]" is all about as I'm a beginner programmer, I haven't come > across that in my studies as of yet until now. You mind explaining what > it means and what it did? > > -- > Posted via http://www.ruby-forum.com/. >