The contains keyword checks if a text, or concept set contains a value.

Syntax

text contains text
concept_set contains concept
concept_set contains concept_set

Returns

The boolean value that indicates if a collection contains a value.

Note: Text functions are not case-sensitive and ignore diacritics (accents).

Examples

"With tangerine trees and marmalade skies" contains "marmalade"
/* returns true */

"Because you're mine, I walk the line" contains "in"
/* returns true, because "in" is found in "mine" and "line" */

[Product.Name] contains [SearchField.Name]
/* this is a useful filter expression */

{ 'PowerUser', 'Administrator' } contains 'Administrator'
/* returns true */

{ 'PowerUser', 'Administrator' } contains { 'Administrator', 'PowerUser' }
/* returns true */

{ 'PowerUser', 'Administrator' } contains { 'PowerUser' }
/* returns false */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company