Skip to main content

stringtokenizer-class

This class allows an application to break a string into tokens.

public class Korzh.EasyQuery.StringTokenizer

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
StringTokenizer(StringBuilder source, string separators, string spaces)voidInitializes a new instance of the StringTokenizer class.
StringTokenizer(StringBuilder source, string separators)voidInitializes a new instance of the StringTokenizer class.
StringTokenizer(string s)voidInitializes a new instance of the StringTokenizer class.

Properties

NameTypeDescription
FullTokenstringGets the full token string including quotes, brackets, etc.
LastBreakStringTokenizer.TokenTypeReturns the type of the last scan stop. It can be either space or separator.
PositionintReturns current Position in the scanned string.
ProcessAIdentsboolGets or sets a value indicating whether the tokenizer should recognize the identifiers placed in [] brackets.
TokenStartintReturns start position of the current token.
TokTypeStringTokenizer.TokenTypeGets the current token type.

Methods

NameTypeDescription
FirstToken()stringGet first token.
NextToken()stringReturns next token.