first Index Of Or
fun A_Tuple.firstIndexOfOr(value: A_BasicObject, otherValue: A_BasicObject, startIndex: Int, endIndex: Int): Int
Search for one of two particular values in the tuple, starting at the given index and working forward. The first match of either value or otherValue ends the search.
Return
The first encountered index of the code point when scanning forward from the startIndex. If neither value is found, answer 0.
Parameters
value
The value to search for in the receiver.
other Value
The other value to search for in the receiver.
start Index
The position at which to start scanning.
end Index
The position at which to stop scanning, which should be >= the startIndex for a non-empty range.