LassoScript Utility
Basics Browse Detail

[Compare_BeginsWith]

Tag Link [Compare_BeginsWith] 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_BeginsWith] can be used with [Match_Comparator] to return elements from a compound data type that begin with the specified value. This comparator can also be triggered using a -BW keyword.

Syntax

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

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

Parameters

No Parameters Required.

Examples

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