HelpersExtensionsJoin Method |
Joins the given list of values with a given separator.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string Join(
this IEnumerable<string> values,
string separator
)
Parameters
- values
- Type: System.Collections.GenericIEnumerableString
Values - separator
- Type: SystemString
Separator
Return Value
Type:
StringUsage 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