怎么看cpu是正式版:如何判断一个字符串是否属于另一个字符串
来源:百度文库 编辑:神马品牌网 时间:2024/05/24 21:12:15
要用VBSCRIPT的,最好是ASP.
str1="A"
str2="PSAPAPFDF"
if instr(str2,str1)<>0 then
response.write("字符"&str1&"属于字符串"&str2)
end if
str1="A"
str2="PSAPAPFDF"
if instr(str2,str1)<>0 then
response.write("字符"&str1&"属于字符串"&str2)
end if