NevronOpenVision
Nevron.Nov Namespace / NStringParser Class / ReadToCloseChar Method
The index at which the token starts.
The index at which the token ends (i.e. the index of the char before close char).
In This Topic
    ReadToCloseChar Method
    In This Topic

    Reads to the given close char, regarding other open and close chars as nested scopes. For example the following string will be read as a single token and not only to the first closing brace:

    {

    p.test { font-family:verdana,sans-serif;font-size:14px; }

    }

    Syntax
    protected System.bool ReadToCloseChar( 
       System.char openChar,
       System.char closeChar,
       out System.int startIndex,
       out System.int endIndex
    )

    Parameters

    openChar
    closeChar
    startIndex
    The index at which the token starts.
    endIndex
    The index at which the token ends (i.e. the index of the char before close char).
    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