TextHelper MergeIfNotEmpty Method Kentico 8.0 API Reference
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: 8.0.0.0 (8.0.5239.26125)

Parameters

separator
Type: OnlineSystem String
Separator
values
Type:  OnlineSystem Object 
Values

Return Value

Type: OnlineString
See Also