Re: Wildcards in Text files
Just use the instr function
if instr(mystring,"*") > 0 then
' the * is in the string
else
' no * in the string
end if
Tom Cannaerts
[email protected]
Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
Re: Wildcards in Text files
It worked! Thanks.
If Mid(strInput, 1, 1) <> Chr(12) And _
Mid(strInput, 1, 1) <> "" And _
InStr(strInput, "*") = 0 And _
Mid(strInput, 1, 6) <> "REPORT" And _
I also found out by trial and error I could use
Mid(strInput, 1, 1) <> ["*"] And _
Kathy DuBach at [email protected]