This is hopefully an easy one, but i cant seem to find any reference to it.
How do i print the location of something stored in an array, not the actual item that is in it.
Array(0) = Dog
Array(1) = Cat
Array(2) = Fish
Lets say i searched the array and found cat, how do i print the location cat was stored at, in this case Index Number (1).
Thanks in advance.