kirupa.com - Finding Values in an Array

In Flash, you have the indexOf function that allows you to find text in an array of string data. That is great if you are only working with strings, but you will often run into situations where your array is more than just strings. If your array contains numbers, object references, etc., your indexOf function will not find a non-string value you search for.


This is a companion discussion topic for the original entry at http://www.kirupa.com/developer/actionscript/finding_values_array.htm