The problem was in spuky's post.
quote:
Originally posted by SpunkyLoveMuff
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
Edit: in relation to spunky's next post....
quote:
Originally posted by SpunkyLoveMuff
quote:
Originally posted by markee
spuky's
* spuky runs
Maybe I wanted to shorten it more