NevronOpenVision
Nevron.Nov Namespace / NStringParser Class / CharactersMatch Method / CharactersMatch(String,Int32,Boolean) Method
The string whose characters to compare with the parser's char array.
The position in the given string at which to begin the comparison.
If set to true the reading position will be moved just after the last matched character in the char array if the characters in the char array match the ones in the specified string.
In This Topic
    CharactersMatch(String,Int32,Boolean) Method
    In This Topic
    Checks whether the next characters in the char array match the ones in the given string starting from the current reading position and from the specified position in the string. A case sensitive check is performed.
    Syntax
    protected System.bool CharactersMatch( 
       System.string str,
       System.int strPos,
       System.bool advanceReadingPosition
    )

    Parameters

    str
    The string whose characters to compare with the parser's char array.
    strPos
    The position in the given string at which to begin the comparison.
    advanceReadingPosition
    If set to true the reading position will be moved just after the last matched character in the char array if the characters in the char array match the ones in the specified string.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also