Contains Function
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
Contains Function
Syntax
Boolean Contains(Array array, PropertyObject object, Boolean caseSensitive = True)
Return Value
If found, returns True. If not found, returns False.
Purpose
This function returns True if the specified object or value is found in the array. Note: To find the location of the object or value, use the FindIndex or FindOffset functions to obtain the array index string (e.g. "[0][1]") or the offset value, respectively.
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.