FindIndex Function
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
FindIndex Function
Syntax
String FindIndex(Array array, PropertyObject object, Boolean caseSensitive = True)
Return Value
If found, returns the index string of the value. If not found, returns an empty string.
Purpose
This function searches for the first index of the specified value in the given array. The function returns the array bounds as a string with the syntax "[i][j][k]", with an integer value in square brackets for each dimension of the source array. Note: To obtain a numeric index result, use the FindOffset function instead of FindIndex.
Parameters
array as Array
An array to search.
object as PropertyObject
The value to be found.
caseSensitive as Boolean
For string arrays, pass True to use a case-sensitive comparison.