TextHelper MergeIfNotEmpty Method Kentico 8.1 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.1.5347.20411)

Parameters

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

Return Value

Type: OnlineString
See Also