in reply to Finding the index of a specific element in an array.
Why? Maybe there is a better way of representing the data so you don't need to search an array to get whatever answer you need?