Splits the specified delimited string into an array of values.

Namespace:  Endeca.Web.UI
Assembly:  Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
public static T[] Split<T>(
	string values,
	char delimiter
)
where T : IConvertible
Visual Basic (Declaration)
Public Shared Function Split(Of T As IConvertible) ( _
	values As String, _
	delimiter As Char _
) As T()
Visual C++
public:
generic<typename T>
where T : IConvertible
static array<T>^ Split(
	String^ values, 
	wchar_t delimiter
)

Parameters

values
Type: System..::.String
Delimited string containing string representations of T instances.
delimiter
Type: System..::.Char
Delimiter separating distinct items in values.

Type Parameters

T
Type of items in the array.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionif values is null.
System..::.ArgumentException if delimiter is null or an empty string.

See Also