RE_ASEARCHEX†
Format†
RE_ASEARCHEX( key , array )
Function†
- Searches a general purpose array for all values that "partialy match" the specified regular expression.
Arguments†
- key
- The key value (regular expression) to search for.
- array
- A general purpose array (simple arrays cannot be used).
Return value†
- Returns a general purpose array (0-indexed) enumerating the ordinal numbers of the elements that were found.
- If nothing is found, an empty general purpose array is returned.
- RE_GETSTR/POS/LEN are not available.
Related†
Version†
- YAYA: Available from the start
- Available in AYA5.8
Example†
_tea = ("Tekkannon", "Oolong", "Yabukita", "Oolong", "Jasmine")
ipod = RE_ASEARCHEX("^Oo", _tea)
ipod stores a general purpose array with the content (1,3).