Class StringTokenizer
A String Tokenizer that accepts Strings as source and delimiter. Only 1 delimiter is supported (either String or char[]).
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.dll
Syntax
public class StringTokenizer
Constructors
StringTokenizer(String, String)
Constructor for StringTokenizer Class.
Declaration
public StringTokenizer(string source, string delimiter)
Parameters
System.String
source
The Source String. |
System.String
delimiter
The Delimiter String. If a 0 length delimiter is given, " " (space) is used by default. |
Methods
Count()
Method to get the number of tokens in this StringTokenizer.
Declaration
public int Count()
Returns
System.Int32
The number of Tokens in the internal ArrayList. |
NextToken()
Method to get the next (string)token of this StringTokenizer.
Declaration
public string NextToken()
Returns
System.String
A string representing the next token; null if no tokens or no more tokens. |