What are you trying to do?

And no - there is no mid for arrays.