ReadTo(String,Int32,Int32) Method
Reads a string from the current position (inclusive) to the first occurrence of the given string (exclusive). The reading position is set just after the last char of the given end string.
protected System.bool ReadTo(
System.string ,
out System.int ,
out System.int
)
Parameters
- endString
- startIndex
- The index at which the token starts.
- endIndex
- The index at which the token ends (i.e. the index of the char before the first char of the end string).
Return Value
True if there are more chars to read or false if the parser has reached its end position.
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)