logo SmartSurvey / Scripting Docs
Back to Docs
Operator
!= Not Equal Comparison
!=
Symbol !=
Category Comparison
Precedence 3

Tests whether a response value does not equal a given value. The inverse of the equal (=) operator.

Syntax
syntax
Qx != value
Examples
expressions
Q1!=3              -- did not choose option 3
Q4!=0              -- age is not zero
Q22!=2             -- did not select option 2
Equivalent to writing NOT (Qx=value). Use when you want to exclude a specific response.
Related