Lasso Soft Inc. > Home

[Array->FindPosition]

[Array->FindPosition] searches the array 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 array contains any pair values, only the first part of the pair is compared with the parameter of the [Array->FindPosition] tag.

If no elements in the array match the parameter to the [Array->FindPosition] tag then an empty array is returned.

  • Syntax
  • Parameters
[Array->(FindPosition: 'Find Value')]
Required Parameters
Matcher Any value or matcher. Each element of the array will be compared to this value or matcher and the matching positions will be returned.
Examples

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

Tag Link [Array->FindPosition] Category Array
Type Member Data Source Any
Support Preferred Version 8.0
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft