1: How to get last index, not last element, but last index number of an 2d array?
Also
2: say 2d array has contents
elephant crow dog goat
giraffe eagle cat fly
ant pig horse bee
How to get that the bee is the 12th or 11th index in the array? (11 if you count elephant as zero index, 12 if you count elephant as first index), meaning I want the index number 11 or 12, not "bee"