Find the first index of a value in an array or substring in a string. Returns -1 if not found.
Optional
Find the first index of a value in an array or substring in a string. Returns -1 if not found.