The equality operator (=) compares two values. If the values are equal, the result of the operation is TRUE. Otherwise, the result of the operation is FALSE. If the two values are strings, the operation is case-sensitive.
The equality operator (~=) only compares string values and is not case-sensitive.
Examples:
1 = 1
Result = TRUE
1 = 2
Result = FALSE
"sparrow" = "SPARROW"
Result = FALSE
"sparrow" ~= "SPARROW"
Result = TRUE
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |