Constructor TokenizerHelper
TokenizerHelper(string, IFormatProvider)
Constructor for TokenizerHelper which accepts an IFormatProvider. If the IFormatProvider is null, we use the thread's IFormatProvider info. We will use ',' as the list separator, unless it's the same as the decimal separator. If it is, then we can't determine if, say, "23,5" is one number or two. In this case, we will use ";" as the separator.
public TokenizerHelper(string str, IFormatProvider formatProvider)
Parameters
str
stringThe string which will be tokenized.
formatProvider
IFormatProviderThe IFormatProvider which controls this tokenization.
TokenizerHelper(string, char, char)
Initialize the TokenizerHelper with the string to tokenize, the char which represents quotes and the list separator.
public TokenizerHelper(string str, char quoteChar, char separator)