Click or drag to resize
TextHelperMergeIfNotEmpty Method
Joins the given list of values with a given separator. Each value is inserted into the final string only if not empty.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string MergeIfNotEmpty(
	string separator,
	params Object[] values
)

Parameters

separator
Type: SystemString
Separator
values
Type: SystemObject
Values

Return Value

Type: String
See Also