From: Rubist Rohit Date: 2011-04-22T12:54:16+09:00 Subject: Reversing a string without using array, classes and reverse function I am trying this: mystring = gets mystring.scan(/..$/) {|x| puts x} It returns only the last character. Is it possible to add the above line in loop? -- Posted via http://www.ruby-forum.com/.