Answers for "vb6 string contains"

VBA
0

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
Posted by: Guest on December-17-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language