ListExtensions ToTrimmedTokenString TSource  Method (IEnumerable TSource )CleanCode C# Libraries v1.2.03 API
Joins a list of strings into a single, comma-separated string, normalizing whitespace in the process.

Namespace: CleanCode.Data
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public static string ToTrimmedTokenString<TSource>(
	this IEnumerable<TSource> list


Type: OnlineSystem.Collections.Generic IEnumerable TSource 
The list to trim.
Type Parameters

The generic type.

Return Value

String containing comma-separated list items.

Usage Note

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

All multiple sequences of any whitespace characters are replaced by a single space.
See Also