LumiSoft Mail Server User API
StringReader Class
Namespaces > LumiSoft.Net > StringReader
String reader.
Syntax
C#Visual BasicManaged C++
public class StringReader
Public Class StringReader
public ref class StringReader
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
StringReaderNew(String)
Default constructor.
AppenString(String)
Appends specified string to SourceString.
Available
Gets how many chars are available for reading.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OriginalString
Gets original string passed to class constructor.
Position
Gets position in original string.
QuotedReadToDelimiter(Char)
Reads string to specified delimiter or to end of underlying string. Notes: Delimiter in quoted string is skipped. Delimiter is removed by default. For example: delimiter = ',', text = '"aaaa,eee",qqqq' - then result is '"aaaa,eee"'.
QuotedReadToDelimiter(Char[]())
Reads string to specified delimiter or to end of underlying string. Notes: Delimiters in quoted string is skipped. Delimiter is removed by default. For example: delimiter = ',', text = '"aaaa,eee",qqqq' - then result is '"aaaa,eee"'.
QuotedReadToDelimiter(Char[](), Boolean)
Reads string to specified delimiter or to end of underlying string. Notes: Delimiters in quoted string is skipped. For example: delimiter = ',', text = '"aaaa,eee",qqqq' - then result is '"aaaa,eee"'.
ReadParenthesized()
Reads parenthesized value. Supports {},(),[],<> parenthesis. Throws exception if there isn't parenthesized value or closing parenthesize is missing.
ReadSpecifiedLength(Int32)
Reads string with specified length. Throws exception if read length is bigger than source string length.
ReadToEnd()
Reads all remaining string, returns null if no chars left to read.
ReadToFirstChar()
Reads to first char, skips SP,VTAB,HTAB,CR,LF from the beginning of source string.
ReadWord()
Reads word from string. Returns null if no word is available. Word reading begins from first char, for example if SP"text", then space is trimmed.
ReadWord(Boolean)
Reads word from string. Returns null if no word is available. Word reading begins from first char, for example if SP"text", then space is trimmed.
ReadWord(Boolean, Char[](), Boolean)
Reads word from string. Returns null if no word is available. Word reading begins from first char, for example if SP"text", then space is trimmed.
SourceString
Gets currently remaining string.
StartsWith(String)
Gets if source string starts with specified value. Compare is case-sensitive.
StartsWith(String, Boolean)
Gets if source string starts with specified value.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
StringReader

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)