From: Wilson Bilkovich Date: 2005-12-15T13:19:55+09:00 Subject: Re: string comparison On 12/14/05, Boris Glawe wrote: > if not obj.text == localtext > then > print "\"#{obj.text}\" is not equal \"localtext\"\n" > end > > This is, what it gave me: > > "hello world" is not equal "hello world" > Just to remove any precedence weirdness, does this behave differently from your failing code? puts %Q[#{obj.text} differs from #{localtext}] unless obj.text == localtext