Home  |  Delphi .net Home  |  System.IO NameSpace
 .NET Framework
 Namespace References

  BinaryReader  Class 
  BinaryWriter  Class 
  BufferedStream  Class 
  Directory  Class 
  DirectoryInfo  Class 
  File  Class 
  FileAccess  Enumeration 
  FileAttributes  Enumeration 
  FileInfo  Class 
  FileMode  Enumeration 
  FileShare  Enumeration 
  FileStream  Class 
  FileSystemWatcher  Class 
  MemoryStream  Class 
  Path  Class 
  SeekOrigin  Enumeration 
  StreamReader  Class 
  StreamWriter  Class 
  StringReader  Class 
  StringWriter  Class 

 Articles and Tutorials

 Overview of .NET
 Delphi and .NET
 Winform Applications
 ASP .Net Applications
 ASP Web Services
 Framework Collections
 Framework String Handling
 Framework Files and Folders

 Author links

 Buy Website Traffic at

 Buy Proxies at

  System.IO.StringReader Class
Calling writeTextBlock The StringReader class is descended from the abstract TextReader class. It allows a string to be read character by character, or line by line in much the same way as if the string were a text file.
The string must contain either Carriage return, Line-feed or both as the means of delimiting the lines. It is a shame that the constructor did not allow a string array to be used as well. After writeTextBlock
Constructor Create ( Value : String );
Close  Closes the StringReader
Peek  Gives the value of the next character in the string without updating position
Read  Reads the next character or block of characters from the current string
ReadBlock  Reads the next block of characters from the current string
ReadLine  Reads the next line of characters from the current string
ReadToEnd  Reads to the end of the current string

 Microsoft MSDN links
Delphi Programming Neil Moffatt 2002 - 2016. All rights reserved.  |  Home Page