喷笔清洗壶怎么用:vb 判断字符串中是否含有某字符
来源:百度文库 编辑:中科新闻网 时间:2024/05/15 03:50:50
例如Im a (girl)!中如何判断是否含有"("字符
Dim a as string
a = "Im a (girl)!"
If instr(a, "(") > 0 Then
msgbox "yes"
else
msgbox "no"
end if
中科新闻网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:中科新闻网 时间:2024/05/15 03:50:50
Dim a as string
a = "Im a (girl)!"
If instr(a, "(") > 0 Then
msgbox "yes"
else
msgbox "no"
end if