Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
RE: [problem] Buttons in windows
code:for(x in somearray){ //For each array element if(somestring.search(somearray[x] != -1){ //search the target text for array element // !=-1 means the string text was found (only returns -1 when text is not found, else returns the index or position of the first character
Debug.Trace(somearray[x]); //Print it so we know it found the text
}
}
Just to try and explain it
This post was edited on 10-23-2007 at 10:13 PM by Spunky.