IndexOf returns the index number of an item in a collection |
Member of Sorted Array Collection (PRIM_SACO)
Data Type - Integer
Name | Type | Data Type | Description |
|---|---|---|---|
Object | *Input | Instance of the object to be searched for | |
StartingAt | *Input | Integer | Index in the collection at which to searching |
IndexOf returns the index number of an item in a collection.
If the object does not exist in the collection the result will be 0.
Accessing the index of an object in a collection.
#Result := #Collection.IndexOf<#Object>
Accessing the index of an object in a collection using the StartingAt parameter.
#Result := #Collection.IndexOf<#Object #StartingAt>