Skip to content
Martin Danielsson edited this page Jul 23, 2015 · 2 revisions

Checks whether haystack contains needle. Comes in two flavors, Contains which takes casing into account, and ContainsIgnoreCase which doesn't.

What Type
Syntax Contains[IgnoreCase](haystack, needle)
haystack string
needle string
Return type bool

Example: ContainsIgnoreCase($companyName, "Ltd.")

Operator Configuration

By using the following XML code in the configuration file, the Contains operator may be generally made behave as the ContainsIgnoreCase operator:

<OperatorConfigs>
  <OperatorConfig name="Contains">ignorecase</OperatorConfig>
</OperatorConfigs>
Clone this wiki locally