比如:我们要判断upschool包含在(www.upschool.com.cn)里面
我们就可以用以下这条函数.
Instr(str1,str2):从字符串str1,寻找另一个字符串str2第一个出现的位置
应用实例:
s=Instr("www.upschool.com.cn","upschool")
if s>0 then
包含
else
不包含
end if