RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TReader.ReadStr Method

Reads one character from the reader object's stream and returns its contents.

Pascal
function ReadStr: string;
C++
__fastcall AnsiString ReadStr();

ReadStr is a helper method used by other reader methods to read one character from a string at the current reader Position. Unlike ReadChar, ReadStr will not throw an exception if the tagged value is not a single character.

Warning: This method is for Delphi internal use only.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!