NevronOpenVision
Nevron.Nov Namespace / NStringParser Class / CharactersMatch Method / CharactersMatch(String,Int32,Boolean,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.
Specifies whether the comparison should be case sensitive or not.
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,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.
    Syntax
    protected System.bool CharactersMatch( 
       System.string str,
       System.int strPos,
       System.bool caseSensitive,
       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.
    caseSensitive
    Specifies whether the comparison should be case sensitive or not.
    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