Méthode | Description | |
---|---|---|
CountTokens ( ) : int |
Returns the number of tokens in the string
|
|
HasMoreTokens ( ) : bool |
Checks if there are more tokens available from this tokenizer's string
|
|
NextToken ( ) : string |
Returns the current token and moves to the next token
|
|
PeekToken ( ) : string |
Returns the current token but does not move to the next token
|
|
SkipToken ( ) : void |
Moves to the next token without returning the current token
|
|
StringTokenizer ( string source ) : System |
Initializes a new instance of the StringTokenizer class with the specified source string
|
|
StringTokenizer ( string source, char delimiter ) : System |
Initializes a new instance of the StringTokenizer class with the specified source string and delimiters
|
|
StringTokenizer ( string source, string delimiter ) : System |
Initializes a new instance of the StringTokenizer class with the specified source string and delimiters
|
Méthode | Description | |
---|---|---|
Tokenize ( ) : void |
Parses the source string
|
public StringTokenizer ( string source ) : System | ||
source | string | The String to be parsed |
Résultat | System |
public StringTokenizer ( string source, char delimiter ) : System | ||
source | string | The String to be parsed |
delimiter | char | A char array containing the delimiters |
Résultat | System |
public StringTokenizer ( string source, string delimiter ) : System | ||
source | string | The String to be parsed |
delimiter | string | A String containing the delimiters |
Résultat | System |