Hi.<BR> I'm doing this:<BR>inStr(1,"|inc|","|inc|jpg |doc|gif",0)<BR>and I get 0, why?
Check the VBScript Reference link, but I think you've got those two parameters the wrong way around:<BR><BR>inStr(1,"|inc|jpg|doc&# 124gif","|inc|",0)<BR><BR>Craig.
You are right! that is so stupid of me!<BR>and I didn't see that! I've been trying to figure out what's wrong for hours!<BR>thanks a lot!