contains
contains(
reference: text,
comparer?: any
)
Returns true if the value passed as argument contains, anywhere in the string, the text value passed as parameter. Returns false otherwise.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
reference | text | Yes | A string to be compared to the argument value. |
comparer | any | No | A definition of the parameters of the comparison (case-sensitivity, culture-sensitivity). |
Argument evaluation
reference: Evaluated once in the enclosing context unless the incoming value is null, in which case it is skipped.comparer: Supplied as comparer configuration and reused during comparisons; it is not evaluated as an expression for each value.
Kind: Predicate
Scope: text
Aliases: text-contains