Click or drag to resize

StringTokenizer Constructor (String, String, Boolean, Boolean, String)

Constructs a string tokenizer for the specified string using the given delimiters, optionally returning them as tokens. Also empty tokens may be returned using the empty string.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public StringTokenizer(
	string str,
	string delims,
	bool returnDelims,
	bool returnEmpty,
	string empty
)

Parameters

str
Type: SystemString
The string to be tokenized.
delims
Type: SystemString
The delimiters used to tokenize the string (each char will be used as a delimiter).
returnDelims
Type: SystemBoolean
If set to true the encountered delimiters will also be returned as tokens.
returnEmpty
Type: SystemBoolean
If set to true empty tokens will also be returned.
empty
Type: SystemString
The string to be returned as an empty token.
Exceptions
ExceptionCondition
NullReferenceExceptionThrown when the passed string is null
See Also