Strings.InStr Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: