C-DEngine 5.105

TheCommonUtils..::..cdeSplit Method (String, String, Boolean, Boolean)

Converts a string into a string array.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string[] cdeSplit(
	string pToSplit,
	string sep,
	bool RemoveDuplicates,
	bool RemoveEmptyEntries
)
Public Shared Function cdeSplit ( _
	pToSplit As String, _
	sep As String, _
	RemoveDuplicates As Boolean, _
	RemoveEmptyEntries As Boolean _
) As String()
public:
static array<String^>^ cdeSplit(
	String^ pToSplit, 
	String^ sep, 
	bool^ RemoveDuplicates, 
	bool^ RemoveEmptyEntries
)

Parameters

pToSplit
Type: String
The input string.
sep
Type: String
The delimiter character in the input string.
RemoveDuplicates
Type: Boolean
if true, the returning list does not contain duplicate entries
RemoveEmptyEntries
Type: Boolean
if true, the returning list does not contain empty entries

Return Value

An array of strings with the parsed results.