Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft