Hello,

I am looking for a way to check if any sting of the Array is matched to the string that in the TextField. In the code it should be something like that:

Code:
var TestString:Array = new Array ("chicken", "cat", "dog");

function LookStringArray(){			
      if  (TestArrayTextfield_txt.text  ==  (anyString.TestString)){
		StringExist = true;
		trace (StringExist);	
      }  
}

Please let me know what will be the best approach. Thank you in advance.