This is hopefully easy, but I cannot find a link to it.
How to print the location of what is stored in the array, and not the actual element that is in it.
Array(0) = Dog Array(1) = Cat Array(2) = Fish
Lets say that I was looking for an array and found cat, how I print the location where cat was stored, in this case Index Number (1).
Thanks in advance.
user1298620
source share