Indicates whether the operation should be case sensitive or not.
Description
Finds the index of the first string containing the specified sub-string. Returns -1 if the sub-string is not found.
Syntax
Visual Basic
Public Function Find( _
ByVal subString As String, _
Optional ByVal startIndex As Long = 0, _
Optional ByVal caseSensitive As Boolean = False _
) As Long
Parameters
subString
The string or portion of a string to search for.
startIndex
The 0-based index to start the search at.
caseSensitive
Indicates whether the operation should be case sensitive or not.
Return Value
The index of the first string containing the specified subString.