Comparison operators

The comparison operators (=, <>, !=, ><, <, >, <=, and >=) compare values of the same type and produce a logical result (True or False). The following operations all result in a logical value of True:

"London" = "Lon" + "don"
"London" != "Tokyo"
2 + 2 > 3