Spread Windows Forms 15.0
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / Wildcard Class / IsMatch Method
The tokens.
The STR.


In This Topic
    IsMatch Method (Wildcard)
    In This Topic
    Matches the wilcard string with tokens. It uses non-recursive algorithm to got best performance which it's possible in my ability :(
    Syntax
    'Declaration
     
    
    Public Shared Function IsMatch( _
       ByVal tokens() As WildcardToken, _
       ByVal str As String, _
       Optional ByVal findingIndex As Boolean, _
       Optional ByVal start As Integer, _
       Optional ByVal stringComparison As StringComparison _
    ) As Boolean
    'Usage
     
    
    Dim tokens() As WildcardToken
    Dim str As String
    Dim findingIndex As Boolean
    Dim start As Integer
    Dim stringComparison As StringComparison
    Dim value As Boolean
     
    value = Wildcard.IsMatch(tokens, str, findingIndex, start, stringComparison)

    Parameters

    tokens
    The tokens.
    str
    The STR.
    findingIndex
    start
    stringComparison
    See Also