Tinderbox v8 Icon

List/Set.containsAnyOf("list")


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Query Boolean   [other Query Boolean operators]

 8.8.0

 


List/Set.containsAnyOf("list")

The operator .containsAnyOf("aSet ) is true if any of the words in a set of words is contained in the target string. For example:

$Text.containsAnyOf("emulate;aspire;mimic") 

or

$Text.containsAnyOf(wordsRelatedTo("emulate")); 

Will be true if the text contains the word "aspire" .containsAnyOf is always case insensitive.