Overload | Description |
---|---|
ConcatIfNotEmpty(IEnumerable<String>,String) | Combines the list of specified items to a single string with the specified separator if the items are not empty. |
ConcatIfNotEmpty(IEnumerable<String>,String,Int32) | Combines the list of specified items to a single string with the specified separator if the items are not empty. The number of combined elements is limited with the following number: maxNumber. If the number of source elements exceeds maxNumber, ‘...’ will be added instead of elements that cannot fit into string. |
ConcatIfNotEmpty(String,String,String) | Combines specified instance with the set string via specified delimiter if the specified string is not empty. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2