StringTokenizer class
This class allows an application to break a string into tokens.
public class Korzh.EasyQuery.StringTokenizerPackage: Korzh.EasyQuery (targets: netstandard2.0)
Assembly: Korzh.EasyQuery.dll
Constructors
Section titled “Constructors”| Name | Type | Description |
|---|---|---|
StringTokenizer(StringBuilder source, string separators, string spaces) | void | Initializes a new instance of the StringTokenizer class. |
StringTokenizer(StringBuilder source, string separators) | void | Initializes a new instance of the StringTokenizer class. |
StringTokenizer(string s) | void | Initializes a new instance of the StringTokenizer class. |
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
| FullToken | string | Gets the full token string including quotes, brackets, etc. |
| LastBreak | StringTokenizer.TokenType | Returns the type of the last scan stop. It can be either space or separator. |
| Position | int | Returns current Position in the scanned string. |
| ProcessAIdents | bool | Gets or sets a value indicating whether the tokenizer should recognize the identifiers placed in [] brackets. |
| TokenStart | int | Returns start position of the current token. |
| TokType | StringTokenizer.TokenType | Gets the current token type. |
Methods
Section titled “Methods”| Name | Type | Description |
|---|---|---|
| FirstToken() | string | Get first token. |
| NextToken() | string | Returns next token. |