Interview Question
Qus: What are lexical operators?
Answers (1)
The following table describes the lexical operators that you can use in filters.
Operator Description
L_EQUALS Lexical equal to. This example... Evaluates to true if..
%myString% L_EQUALS "abc" The value of the myString variable is abc.
L_NOT_EQUALS Lexical not equal to.
This example... Evaluates to true if..
%myString% L_NOT_EQUALS "abc" The value of the myString variable is not abc.
L_LESS_THAN Lexical less than.
This example... Evaluates to true if..
%myString% L_LESS_THAN "abc" The value of the myString variable is less than abc.
L_LESS_OR_EQUAL Lexical less than or equal to.
This example... Evaluates to true if..
%myString% L_LESS_OR_EQUAL "abc" The value of the myString variable is less than or equal to abc.
L_GREATER_THAN Lexical greater than.
This example... Evaluates to true if..
%myString% L_GREATER_THAN "abc" The value of the myString variable is greater than abc.
L_GREATER_OR_EQUAL Lexical greater than or equal to.
This example... Evaluates to true if..
%myString% L_GREATER_OR_EQUAL "abc" The value of the myString variable is greater than or equal to abc.