List.PositionOf
Returns the offset(s) of a value in a list.
function (list
as list, optionalvalue
as nullable any, optionaloccurrence
as nullable any, optionalequationCriteria
as nullable any) as nullable any
Returns the offset at which the value
value
appears in the list list
. Returns -1 if the value doesn't appear. An optional occurrence parameter occurrence
can be specified.List.Membership functions
Find the position in the list {1, 2, 3} at which the value 3 appears.
List.PositionOf({1, 2, 3}, 3)
2
Last modified 4yr ago