vb:instr()函数可以直接判断。vb.net可以用string.intertext来判断。就一个函数,不存在什么代码问题。
if instr(text,"需要判断的字符") then'存在else'不存在end if
if Instr(Text1.Text,"特定字符")>0 then 有特定字符
这个简单啊 用循环和MID函数写啊