Click or drag to resize

imbStringExtensionsJoinInFormat Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Joins the in format: applies the specified format on each instance, separator is added between

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string JoinInFormat(
	this IEnumerable<string> input,
	string format = "[{0}]",
	string separator = ""
)
Request Example View Source

Parameters

input
Type: System.Collections.GenericIEnumerableString
The input.
format (Optional)
Type: SystemString
The format.
separator (Optional)
Type: SystemString
The separator.

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableString. 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