ThbComPort.ReadStr (2)
Unit: hbComm
 

Reads all data from the input buffer as a string.

Newer versions of Delphi and C++ Builder are using unicode strings by default. In these versions, the ReadStr mthod reads a string as an unicode string from the input buffer. Use ReadAnsiStr instead of ReadStr to get an AnsiString.

Declaration

function ReadStr: String;

See Also

ThbComPort.Timeouts , ThbComPort.Read, ThbComPort ReadStr, ThbComPort.ReadAnsiStr