-
Notifications
You must be signed in to change notification settings - Fork 2
T_Ekstrand_Text_StringTokenizer
Fred Ekstrand edited this page Aug 6, 2020
·
1 revision
The String Tokenizer is the equivalent to Java version.
System.Object
Ekstrand.Text.StringTokenizer
Namespace: Ekstrand.Text
Assembly: StringTokenizer (in StringTokenizer.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public sealed class StringTokenizer : IEnumerator,
IEnumerableVB
Public NotInheritable Class StringTokenizer
Implements IEnumerator, IEnumerableC++
public ref class StringTokenizer sealed : IEnumerator,
IEnumerableF#
[<SealedAttribute>]
type StringTokenizer =
class
interface IEnumerator
interface IEnumerable
endThe StringTokenizer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() |
StringTokenizer() | Constructor to initialize StringTokenizer |
![]() |
StringTokenizer(String) | Constructor to initialize StringTokenizer |
![]() |
StringTokenizer(String, String) | Constructor to initialize StringTokenizer |
![]() |
StringTokenizer(String, String, Boolean) | Constructor to initialize String Tokenizer with defined string delimiters and return delimiters |
| Name | Description | |
|---|---|---|
![]() |
Count | Calculates the number of tokens that would be generated. |
![]() |
Current | Gets the current element in the collection (Inherited from IEnumerator.) |
![]() |
Delimiters | Replaces the current delimiters with the new given delimiters. |
![]() |
HasMoreTokens | Tests if there are more tokens available to be returned. |
![]() |
IsReturnDelimiters | If true, then the delimiter characters are also returned as tokens. |
![]() |
StringSource | Replaces the string to be tokenized and reset tokenizer to the beginning. |
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
GetEnumerator | Returns an enumerator that iterates through a collection (Inherited from IEnumerable). |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MoveNext | Advances the enumerator to the next element of the collection.(Inherited from IEnumerator.) |
![]() |
NextToken() | Returns the next token from this string tokenizer. |
![]() |
NextToken(String) | Returns the next token from this string tokenizer with specified delimiter |
![]() |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection.(Inherited from IEnumerator.) |
![]() |
ResetTokenizer | Sets the StringTokenizer to its starting position before tokenizing the given string. |
![]() |
TokensToArray | Return tokens based on current delimiters. |
![]() |
TokensToList | Return tokens based on current delimiters. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Copyright © 2019 Fred Ekstrand Jr
Send comments on this topic to fredekstrandGithub@gmail.com

