C-DEngine 5.105

TheCommonUtils..::..CStringToList Method

Split a string into a list.

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

Syntax


public static List<string> CStringToList(
	string strIn,
	char sep
)
Public Shared Function CStringToList ( _
	strIn As String, _
	sep As Char _
) As List(Of String)
public:
static List<String^>^ CStringToList(
	String^ strIn, 
	wchar_t^ sep
)

Parameters

strIn
Type: String
The input string to parse.
sep
Type: Char
The separator character.

Return Value

A List holding the results of the parsing.

Remarks


Divide an input string into a set of strings, using a single separator character as the separator between each string. Put the results into a List.