Strings.InStr Method

 

Returns an integer specifying the start position of the first occurrence of one string within another. The integer is a one-based index if a match is found. If no match is found, the function returns zero.

Namespace:   Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticInStr(Int32, String, String, CompareMethod)

Returns an integer specifying the start position of the first occurrence of one string within another.

System_CAPS_pubmethodSystem_CAPS_staticInStr(String, String, CompareMethod)

Returns an integer specifying the start position of the first occurrence of one string within another.

Return to top
Show: