NevronOpenVision
Nevron.Nov Namespace / NStringParser Class / ReadTo Method / ReadTo(Char,String) Method
The char at which to stop reading.
The string token that was read or null if the parser has reached its end position.
In This Topic
    ReadTo(Char,String) Method
    In This Topic
    Reads a token from the current position (inclusive) to the first occurrence of the given stop char (exclusive). The position of the first occurrence of the stop char becomes the new reading position. Returns false if the parser has reached its end position.
    Syntax
    protected System.bool ReadTo( 
       System.char stopChar,
       out System.string result
    )

    Parameters

    stopChar
    The char at which to stop reading.
    result
    The string token that was read or null if the parser has reached its end position.

    Return Value

    False if the parser has reached its end position.
    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