Combine the string values of the enumerable into an escaped string

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string Combine(
	IEnumerable enumerable,
	char seperator
)
Visual Basic
Public Shared Function Combine ( 
	enumerable As IEnumerable,
	seperator As Char
) As String

Parameters

enumerable
Type: System.Collections..::..IEnumerable
An IEnumerable of values to combine
seperator
Type: System..::..Char
The character to use as a seperator

Return Value

An escaped string that is seperated using the specified characeter. The escape character is '\'. The string returned by .ToString() is used as the value of each item in the IEnumerable.

See Also