Table of Contents

Method ReadUntilChar

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ReadUntilChar(StringReader, char)

Reads characters until the specified character is encountered, without consuming it.

public static string ReadUntilChar(this StringReader stringReader, char character)

Parameters

stringReader StringReader

The reader to read from.

character char

The delimiter character to stop at.

Returns

string

The characters read as a string.