The StringTokenizer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
StringTokenizer()()()() |
Empty Constructor. Will create an empty StringTokenizer with no source, no delimiter, and no tokens.
If you want to use this StringTokenizer you will have to call the NewSource(string s) method. You may
optionally call the NewDelim(string d) or NewDelim(char[] d) methods if you don't with to use the default
delimiter of " " (space).
|
![]() |
StringTokenizer(String) |
Constructor for StringTokenizer Class. The default delimiter of " " (space) is used.
|
![]() |
StringTokenizer(String, array<Char>[]()[][]) |
Constructor for StringTokenizer Class.
|
![]() |
StringTokenizer(String, String) |
Constructor for StringTokenizer Class.
|
Methods
Name | Description | |
---|---|---|
![]() |
CountTokens |
Method to get the number of tokens in this StringTokenizer.
|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
HasMoreElements |
Method to probe for more tokens.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
NewDelim(array<Char>[]()[][]) |
Method to add or change this Instance's Delimiter string. The source string
will remain the same (either empty if you used Empty Constructor, or the
previous value of source from the call to a parameterized constructor or
NewSource(string s)).
|
![]() |
NewDelim(String) |
Method to add or change this Instance's Delimiter string. The source string
will remain the same (either empty if you used Empty Constructor, or the
previous value of source from the call to a parameterized constructor or
NewSource(string s)).
|
![]() |
NewSource |
Method to add or change this Instance's Source string. The delimiter will
remain the same (either default of " " (space) or whatever you constructed
this StringTokenizer with or added with NewDelim(string d) or NewDelim(char[] d) ).
|
![]() |
NextElement |
Method to get the next (string)token of this StringTokenizer.
|
![]() |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
Delim |
Gets the Delimiter string of this StringTokenizer.
|
![]() |
Source |
Gets the Source string of this Stringtokenizer.
|