Hi everyone,

Need to be able to search a string and compare each character to a list of valid characters.

example:
string1="vb-programming"
string2="vb=programming"
valid characters are a-z, A-Z, 0-9, _, -, .

this would find all these characters valid in string1 to be valid and find "=" in string2 to be invalid thus making that string an invalid string

any help or direction would be appreciated

btw i have been trying to use instr functions to accomplish this and have only been able to search
for "1" character at a time

thx harold