FindOffset Function
- Updated2025-07-21
- 1 minute(s) read
FindOffset Function
Syntax
Number FindOffset(Array array, PropertyObject object, Boolean caseSensitive = True)
Return Value
If the specified value found, returns the offset of the value. If the specified value not found, returns -1.
Parameters
array as Array
An array to search.
object as PropertyObject
Value to be searched.
caseSensitive as Boolean
For string arrays, pass True to use a case-sensitive comparison.