functionSplit(String, String, String, String, String, String) Method

splits theString into tokens delimited by delimiter, ignoring delimiters inside quotes and brackets
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)

Syntax

public static object functionSplit(
	string theString,
	string delimiter,
	string quote,
	string startStr,
	string openBracket,
	string closeBracket
	)

Parameters

theString
Type: String
string to be split into tokens, case insensitive !
delimiter
Type: String
delimiter that string is to be split by
quote
Type: String
quote character where delimiters should be ignored inside
startStr
Type: String
part of theString where splitting should start after, case insensitive !
openBracket
Type: String
opening bracket character
closeBracket
Type: String
closing bracket character

Returns

Object
the list of tokens

Remarks

theString is split starting from startStr up to the first balancing closing Bracket (as defined by openBracket and closeBracket) startStr, openBracket and closeBracket are case insensitive for comparing with theString. the tokens are not blank trimmed !!