Click or drag to resize

StringUtilAppend Method

Append one string to another, using an optional separator string if the destination string isn't empty. Treats both destination and source strings as empty if null.

Namespace:  Nova.Utilities
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static string Append(
	this string thisStr,
	string separator,
	string str
)

Parameters

thisStr
Type: SystemString
The string to append to.
separator
Type: SystemString
The optional separator string to use if the destination string isn't empty.
str
Type: SystemString
The string to be appended.

Return Value

Type: String
The new string.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also