The greater-than operator (>) compares two values. If the first value is greater than the second value, the result of the operation is TRUE. Otherwise, the result of the operation is FALSE. If the two values are Boolean, TRUE is greater than FALSE. If the two values are strings, the operation is case-sensitive.
The greater-than operator (~>) only compares string values and is not case-sensitive.
Examples:
1 > 2
Result = FALSE
2 > 1
Result = TRUE
'crow' > 'CROW'
Result = TRUE
'crow' ~> 'CROW'
Result = FALSE
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |