From: Jeremy Bopp Date: 2011-10-15T00:03:53+09:00 Subject: Re: Reversing an input On 10/14/2011 09:03, Junayeed Ahnaf Nirjhor wrote: > Hello, > > > > Say, I am taking an input from user via the statement: print "Type here" > > > > Then what should I do to reverse the phrase? How can I assign the input into > a variable and then issue the method .reverse? Take a look at the gets method: http://rdoc.info/stdlib/core/1.8.7/Kernel:gets -Jeremy