From: Haris Bogdanovic Date: 2009-03-12T05:38:04+09:00 Subject: Re: testing equality I got it. One string from comparison is from gets function so it has 'enter' character added on the end. "Haris Bogdanovic" wrote in message news:gp2r50$usq$1@gregory.bnet.hr... > Hi. > > When I try to test equality of two strings, for example: > > if object1.string==object2.string then puts object1.string end > > I get nothing printed even though two strings are equal. > > Why ? > > Thanks