Returns the subscript where the specified value first appears.
value | Search value |
offset | Starting position |
The position found. -1 if not found.
The specified value is searched in order from the subscript at the search start position, and the subscript that appears first is returned.
Returns -1 if the specified value is not found.
Distinguished comparison (=== operator behavior) is used for comparison.