Checking categorical responses
You can use any suitable operator or function in the UNICOM Intelligence Scripting language for testing responses to categorical questions. However, the majority of tests can be carried out using just the operators and functions listed in the following table. For information about the full range of functions available for categorical responses, see
Categorical functions and
Text, categorical, and array functions.
Operators
=
Tests whether the response exactly matches a specified answer
<>
Tests whether the response does not exactly match a specified answer
<
Tests whether the response contains a subset of specified answers but not all of them
<=
Tests whether the response contains one or more specified answers
>
Tests whether the response contains all the specified answers and at least one other answer
>=
Tests whether the response contains all specified answers, with or without additional answers
AnswerCount
Returns the number of responses chosen
ContainsAll
Tests whether the response contains all the specified answers
ContainsAny
Tests whether the response contains at least one of the specified answers
ContainsSome
Tests whether the response contains a given number of the specified answers
More information
See also