C-DEngine 5.105

TheCommonUtils..::..cdeDistinctCookies Method

Remove duplicates from a list of tokens.

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

Syntax


public static List<string> cdeDistinctCookies(
	List<string> pCookies
)
Public Shared Function cdeDistinctCookies ( _
	pCookies As List(Of String) _
) As List(Of String)
public:
static List<String^>^ cdeDistinctCookies(
	List<String^>^ pCookies
)

Parameters

pCookies
Type: List<(Of <(<'String>)>)>
A List containing two or more

Return Value

A List with duplicate tokens removed.

Remarks


This function removes duplicate tokens from a list of tokens. Each list item can continue multiple parts, with a semicolon delimiter between each part. Only the first part of each list item is used as the key value for checking for uniqueness.