C-DEngine 5.105

TheCommonUtils..::..CListToString Method (List<(Of <(<'String>)>)>, String)

Converts a collection into a string.

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

Syntax


public static string CListToString(
	List<string> pList,
	string Sep
)
Public Shared Function CListToString ( _
	pList As List(Of String), _
	Sep As String _
) As String
public:
static String^ CListToString(
	List<String^>^ pList, 
	String^ Sep
)

Parameters

pList
Type: List<(Of <(<'String>)>)>
Reference to a string collection.
Sep
Type: String
A string to insert between each item.

Return Value

A concatenated string with delimiter 'sep' between each part.

Remarks


Converts a list of strings to a single string consisting of each of the input objects separated by the 'sep' delimiter. Empty list objects are ignored.