Platform Core .NET Assemblies API
ConcatIfNotEmpty(String,String,String) Method
See Also  Send Feedback
Terrasoft.Common Namespace > StringUtilities Class > ConcatIfNotEmpty Method : ConcatIfNotEmpty(String,String,String) Method
source
String.
str
String to combine with.
separator
Delimiter.

Glossary Item Box

Combines specified instance with the set string via specified delimiter if the specified string is not empty.

Syntax

 
C#
 
 

Parameters

source
String.
str
String to combine with.
separator
Delimiter.

Return Value

New string equivalent to the current instance, combined with the str string that is not empty.

Remarks

Overloaded method.

Extensible method for the System.String class.

Requirements

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

See Also

© Terrasoft 2002-2018.