Click or drag to resize
HelpersExtensionsJoin Method
Joins the given list of values with a given separator.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string Join(
	this IEnumerable<string> values,
	string separator
)

Parameters

values
Type: System.Collections.GenericIEnumerableString
Values
separator
Type: SystemString
Separator

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableString. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
Null entries from input are skipped. Returns empty string if values is null. Consider using framework method Join(String, IEnumerableString)
See Also