in reply to Re: Returning position?in thread Returning position?
I meant to mention a binary search would be faster, but that would require @array to be sorted.