VB String Examples: String Contains Substring?
String Contains Substring? Determine if a string contains a substring. Dim s As String s = "Chilkat Software" ' The following 4 lines are case-sensitive Print InStr(s, "Software") ' Prints 9 Print InStr(s, "Chilkat") ' Prints 1 Print InStr(s, "xyz") ' Pri...