SIFWorks ADK 2.0
DefaultValueBuilder..::MyStringTokenizer Class
NamespacesEdustructures.SifWorksDefaultValueBuilderDefaultValueBuilder..::MyStringTokenizer

[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.
Declaration Syntax
C#Visual BasicVisual C++
public class MyStringTokenizer
Public Class MyStringTokenizer
public ref class MyStringTokenizer
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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

Inheritance Hierarchy
Object
DefaultValueBuilder..::MyStringTokenizer

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10