From: Brad Tilley Date: 2006-08-16T22:42:15+09:00 Subject: string equivalency What's the best way to check if a string is not exactly what you're expecting? I'm doing this: b = 'brad' if not b.eql?('bradsdhsh') puts 'not equal' else puts 'equal' end Is there a more proper way to do it? -- Posted via http://www.ruby-forum.com/.