equals and not equals

DPU:

0.1

Purpose:

To filter for an exact match or a non-match with a number, a word, or a phrase.

Type:

The == and != operators take an integer, float, or string argument.

They do not use tokenization. They make an exact string match on their argument.

Case:

Not case sensitive. Add the cs keyword to create a case-sensitive filter with == or !=.

Syntax:

== int
== float
== string

!= int
!= float
!= string

Synonyms:

None

Examples:

  1. Filter for audio on Tumblr that has been played exactly 200 times.

    tumblr.plays == 200

  2. Filter for Tumblr activity from a particular blog.

    tumblr.blog.name == "DataSift"

  3. Filter for audio on Tumblr excluding the artist Beyonce.

    tumblr.artist != "Beyonce"

  4. Filter for posts that exactly match "TEST".

    interaction.content cs == "TEST"