Export (0) Print
Expand All

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member InStr(String, String, CompareMethod) Returns an integer specifying the start position of the first occurrence of one string within another.
Public method Static member InStr(Int32, String, String, CompareMethod) Returns an integer specifying the start position of the first occurrence of one string within another.
Top
Show:
© 2014 Microsoft