Click or drag to resize

imbSciStringExtensionsadd Method (String, String, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Adds the specified input at end of output and puts separator between if input is not null or empty. Null safe operation.

Namespace:  imbSCI.Data
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public static string add(
	this string output,
	string input,
	string separator = ""
)
Request Example View Source

Parameters

output
Type: SystemString
The output.
input
Type: SystemString
The input.
separator (Optional)
Type: SystemString
The separator.

Return Value

Type: String
Appended version of the 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).
Remarks
Both input and separator may be null or empty. If input is null or empty it will not add separator to the resulting string
See Also