Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StringUtils.CollectionToDelimitedString Method

Convenience method to return an ICollection as a delimited (e.g. CSV) String.

[Visual Basic]
Public Shared Sub CollectionToDelimitedString( _
   ByVal c As ICollection, _
   ByVal delimiter As String _
)
[C#]
public static string CollectionToDelimitedString(
   ICollection c,
   string delimiter
);

Parameters

c
The ICollection to parse.
delimiter
The delimiter to use (probably a ',').

Return Value

The delimited string representation.

See Also

StringUtils Class | Spring.Util Namespace