in reply to How do I find the index of the last element in an array?

You can find it in the special variable $#arrayname

Originally posted as a Categorized Answer.

  • Comment on Re: How do I find the index of the last element in an array?