From: "Mike S." Date: 2011-11-10T05:16:33+09:00 Subject: Strings are not equal I am testing two strings to see if they are equal. One string is just a simple string: "\17" The other is parsed to: "\17" num = 7 num2 = "\17" parsed_num = "\1#{num}" puts parsed_num.class puts num2.class if parsed_num == num2 puts 'Equal' else puts 'Not equal' end It returns: String String Not equal My goal is to have parsed_num exactly the same as the literal num2 -- Posted via http://www.ruby-forum.com/.