Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StringUtils.DelimitedListToStringArray Method

Take a String which is a delimited list and convert it to a String array.

[Visual Basic]
Public Shared Sub DelimitedListToStringArray( _
   ByVal input As String, _
   ByVal delimiter As String _
public static string[] DelimitedListToStringArray(
   string input,
   string delimiter


The String to be parsed.
The delimeter (this will not be returned). Note that only the first character of the supplied delimiter is used.

Return Value

An array of the tokens in the list.


If the supplied delimiter is a or zero-length string, then a single element String array composed of the supplied inputString will be eturned. If the supplied inputString is , then an empty, zero-length String array will be returned.

See Also

StringUtils Class | Spring.Util Namespace