📌  相关文章
📜  vbscript 检查字符串是否包含 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:54.457000             🧑  作者: Mango

代码示例1
Dim MyString = "Hello world!"

'InStr returns the position of the first occurrence of the specified string within another.
'So checking if the number returned is higher then 0 means checking if its found
If InStr(MyString, "world") > 0 Then
    'I exist!
End If