Not equal

Merges the word True or False depending on whether two values are different. Use it inside another merge tag that expects a true or false value, rather than on its own in your content.

Syntax

{{notEq data data2}}

Parameters

Name Type Required Description
Data Text Required The first value to compare.
Data2 Text Required The second value to compare.
Note: The comparison is case sensitive, so Customer and customer count as different values. If equal ignores capitalization, which makes it easy to assume this one does too. Pass the field through Lowercase first if your data varies.
Note: To show different content based on a comparison, use If not equal instead. That merges your own content for each outcome, where this merges only the word True or False.

Examples

The examples below are based on the following sample content:

{{notEq Contact.FirstName "customer"}}

A. The contact's FirstName field is anything other than customer

True

B. The contact's FirstName field is customer

False

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us