[Gambas-user] string operator ==

Demosthenes Koptsis demosthenesk at ...626...
Tue Nov 9 13:46:51 CET 2010


Hi,

i dont understand the following result.

PRINT "abc" == "ab"   'true
PRINT "abc" == "abc"  'false

in http://gambasdoc.org/help/cat/stringop
says
Returns if two strings are equal. The comparison is case unsensitive.

1) why "abc" and "ab" says they are equal?
2) and "abc" == "abc" are not?







More information about the User mailing list