Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StringUtils.ArrayToDelimitedString Method

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

[Visual Basic]
Public Shared Sub ArrayToDelimitedString( _
   ByVal source As Object, _
   ByVal delimiter As String _
)
[C#]
public static string ArrayToDelimitedString(
   object[] source,
   string delimiter
);

Parameters

source
The array to parse. Elements may be of any type ( ToString will be called on each element).
delimiter
The delimiter to use (probably a ',').

See Also

StringUtils Class | Spring.Util Namespace