LassoScript Utility
Basics Browse Detail

[Compare_Contains]

Tag Link [Compare_Contains] Category Comparator
Type Substitution Source Available Yes
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type Integer Security None
Implementation LassoScript Sets Lasso 8.5, Lasso 8.0

Description

[Compare_Contains] can be used with [Match_Comparator] to return elements from a compound data type that contain the specified value. This comparator can also be triggered using a -CN keyword.

Syntax

[$Array->(Match_Comparator: \Compare_Contains, -RHS='Value')]

[$Array->(Match_Comparator: -CN, 'Value')]

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.