Sub String Searches Class

MatchesInContextSample

Signature (Visual Basic / VBA)

Private Sub MatchesInContextSample()
    ' Sample of the MatchesInContext function.

    Debug.Print MatchesInContext(Gettysburg, "the", vbTextCompare, Null)
End Sub