[This is preliminary documentation and is subject to change.]

Joins all items in a collection into one string separated with the given separator. A specified string conversion function is called on each item before contactenation.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
[NotNullAttribute]
public static string JoinToString<T>(
	this IEnumerable<T> items,
	Func<T, string> stringConversionFunction
)

Parameters

items
IEnumerable<(Of <(<'T>)>)>
stringConversionFunction
Func<(Of <(<'T, String>)>)>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:fCraft.EnumerableUtil.JoinToString``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.String})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter.

See Also