in reply to Re^2: Equality operators
in thread Equality operators

because strings are automatically converted to numbers when needed. '1foo' is converted to 1 and 'foo1' is converted to 0.