I'm sorry, no it doesn't work... I've tried to put the substr inside the function as well and it still won't accept the NOT operator. I've put it right before the call to the function (don't know if that's a good thing or not) but at this point I'm trying anything and everything.

THANK YOU SO MUCH!!

THE DOG Thanks for your answer, you actually gave me an idea to make my code better and it worked! I never thought of making more than one target (duh), I think that's where my problem lied.

RIPPER079 Well that answered my question about the not operator, no wonder it didn't work! I will definitely add that one to my notes!! Thank you very much, you not only made me understand it, but it's one I will not ever forget!