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.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static string MergeIfNotEmpty(
string separator,
params Object[] values
)
Parameters
- separator
- Type: SystemString
Separator - values
- Type: SystemObject
Values
Return Value
Type:
StringSee Also