[This is preliminary documentation and is subject to change.]
A StringTokenizer replacement. We need a replacement for two
reasons: first, the default does not consider empty tokens to be
tokens. For example, ",,,blue" is considered to have one token, not 4.
Second, we need to ignore commas in literal strings so that a parameter
to a method can itself be comprised of delimiters. If a double-quote is
found, all commas until the next double-quote are considered literal.
The commas are not included in the resulting tokens.
| C# | Visual Basic | Visual C++ |
public class MyStringTokenizer
Public Class MyStringTokenizer
public ref class MyStringTokenizer
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DefaultValueBuilder..::MyStringTokenizerDefaultValueBuilder..::MyStringTokenizerNew(String, Char) |
Creates an instance of MyStringTokenizer
| |
| GetToken(Int32) |
Returns the token at the specified index
| |
| TokenCount |
Returns the number of tokens
|
| Object | |
| DefaultValueBuilder..::MyStringTokenizer | |