224 Citrix NetScaler Policy Configuration and Reference Guide
Classic Expressions
The following tables provide a complete list of NetScaler classic expressions.
These expressions continue to be supported for backward compatibility with
NetScaler versions earlier than 8.1, and for features that have not yet
implemented the PI expression language.
In the table of operators, the result type of each operator is shown at the beginning
of the description. In the other tables, the level of each expression is shown at the
beginning of the description. For named expressions, each expression is shown as
a whole.

Operators

Expression Element Definition
== Boolean.
Returns TRUE if the current expression equals the
argument. For text operations, the items being
compared must exactly match one another. For
numeric operations, the items must evaluate to the
same number.
!= Boolean.
Returns TRUE if the current expression does not
equal the argument. For text operations, the items
being compared must not exactly match one
another. For numeric operations, the items must
not evaluate to the same number.
CONTAINS Boolean.
Returns TRUE if the current expression contains
the string that is designated in the argument.
NOTCONTAINS Boolean.
Returns TRUE if the current expression does not
contain the string that is designated in the
argument.
CONTENTS Text.
Returns the contents of the current expression.
EXISTS Boolean.
Returns TRUE if the item designated by the
current expression exists.
NOTEXISTS Boolean.
Returns TRUE if the item designated by the
current expression does not exist.