Tag Link | [List->FindPosition] | Category | Array |
---|---|---|---|
Type | Member | Source Available | No |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0 |
[List->FindPosition] searches the list for the parameter and returns an array of positions for those elements which match. Accepts a single parameter of any data type including matchers.
If the list contains any pair values, only the first part of the pair is compared with the parameter of the [List->FindPosition] tag.
If no elements in the list match the parameter to the [List->FindPosition] tag then an empty array is returned.
[List->(FindPosition: 'Find Value')]
Required Parameters | |
---|---|
Matcher | Any value or matcher. Each element of the list will be compared to this value or matcher and the matching positions will be returned. |
See the Lasso 8 Language Guide for examples of how to use this tag.