Property | Type | Description | |
---|---|---|---|
NullChar | char |
Method | Description | |
---|---|---|
Extract ( int start ) : string |
Extracts a substring from the specified position to the end of the text
|
|
Extract ( int start, int end ) : string |
Extracts a substring from the specified range of the current text
|
|
MoveAhead ( ) : void |
Moves the current position ahead one character
|
|
MoveAhead ( int ahead ) : void |
Moves the current position ahead the specified number of characters
|
|
MovePast ( char chars ) : void |
Moves to the next occurrence of any character that is not one of the specified characters
|
|
MovePastWhitespace ( ) : void |
Moves the current position to the next character that is not whitespace
|
|
MoveTo ( char c ) : void |
Moves to the next occurrence of the specified character
|
|
MoveTo ( string s, bool ignoreCase = false ) : void |
Moves to the next occurrence of the specified string
|
|
MoveToEndOfLine ( ) : void |
Moves the current position to the first character that is part of a newline
|
|
Peek ( ) : char |
Returns the character at the current position, or a null character if we're at the end of the document
|
|
Peek ( int ahead ) : char |
Returns the character at the specified number of characters beyond the current position, or a null character if the specified position is at the end of the document
|
|
Reset ( ) : void |
Resets the current position to the start of the current document
|
|
Reset ( string text ) : void |
Sets the current document and resets the current position to the start of it
|
|
TextParser ( ) : System | ||
TextParser ( string text ) : System |
Method | Description | |
---|---|---|
IsInArray ( char c, char chars ) : bool |
Determines if the specified character exists in the specified character array.
|
public Extract ( int start, int end ) : string | ||
start | int | |
end | int | |
return | string |
protected IsInArray ( char c, char chars ) : bool | ||
c | char | Character to find |
chars | char | Character array to search |
return | bool |
public MoveAhead ( int ahead ) : void | ||
ahead | int | The number of characters to move ahead |
return | void |
public MovePast ( char chars ) : void | ||
chars | char | Array of characters to move past |
return | void |
public MoveTo ( string s, bool ignoreCase = false ) : void | ||
s | string | String to find |
ignoreCase | bool | Indicates if case-insensitive comparisons /// are used |
return | void |
public Peek ( int ahead ) : char | ||
ahead | int | The number of characters beyond the current position |
return | char |