Haris Bogdanovic wrote:
> 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
>

The best way is to try the code using irb and post the results if you 
are still stuck.
Most likely, though, the objects you are comparing not really equal. Try 
printing out the values before you compare them.

-Justin