RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringReader.Peek Method

Read character without changing TStringReader state.

Pascal
function Peek: Integer; override;
C++
virtual __fastcall int Peek();

Peek reads a character without changing the state of the TStringReader or data source. Subsequent reads occur as if the Peek didn't happen. 

This method is functionally identical to the Microsoft .NET method StringReader.Peek

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!