in reply to How do I find the index of the last element in an array?
Originally posted as a Categorized Answer.