in reply to How to find last occurance in an array
And, uh, your original code is not very good. For example, it'll match "2250" too.