thanks for the help, i got it to work now, but...
when it calls that for statement, it just makes a list of every string in the array...i don't see why, and when i change
code:
if(temess.search(filta0[x] != -1)){
to
code:
if(temess.search(filta0[x] != -1) == 0){
it returns nothing at all...
would it be possible to use a while statement, rather than a for statement?