|Do you know where your variables are?|
And this differs from Re: Re: Shortest -return index of element in array- sub exactly how?
Oh right. You eliminated spaces.
And for the shorter recursive solution see Re: Re: Shortest -return index of element in array- sub.
So tell me, are you just trying to get back up to monk so you can be a more effective troll?
I misread your user name by accident as mr_leisure and said rather unkind things. I still don't think that regurgitating everyone else's solutions is great, but it does not deserve the harshness that I gave that post.
Please accept my apologies for that.
In reply to Re (tilly) 4: Shortest -return index of element in array- sub