vbscript check if string code example
Example: vbscript check if string contains
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