dim str1 as string
dim str2 as stringstr1="123"
str2="123"if str1=str2 then
......
end ifstr1=str2能否表示str1等于str2
dim str2 as stringstr1="123"
str2="123"if str1=str2 then
......
end ifstr1=str2能否表示str1等于str2
调试欢乐多
可以用Option Compare 来设置字符串比较方式。