indexOf() methods are all case-sensitive .
Read moreCan you use indexOf for an array?
IndexOf(Array, Object, Int32) Searches for the specified object in a range of elements of a one-dimensional array, and returns the index of its first occurrence . The range extends from a specified index to the end of the array.
Read more