ASEARCHEX†
Format†
ASEARCHEX( key , array )
Function†
- Searches for all instances of a value in a general purpose array.
Arguments†
- key
- The key value (string) to be searched.
- array
- A general purpose array (simple arrays cannot be used).
Return value†
- A general purpose array (0-indexed) enumerating the ordinal numbers of the elements that were found is returned.
- If nothing is found, an empty general purpose array is returned.
Related†
Version†
- YAYA: Available from the start
- Available in AYA5.8
Example†
_tea = ("Tekkannon", "Oolong", "Yabukita", "Oolong", "Jasmine")
ipod = ASEARCHEX("Oolong", _tea)
ipod stores a general purpose array with the content (1,3).