Splits the String using the StringTokenizer.

Namespace: NHibernate.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static string[] Split(
	string separators,
	string list,
	bool include
)
Visual Basic
Public Shared Function Split ( _
	separators As String, _
	list As String, _
	include As Boolean _
) As String()
Visual C++
public:
static array<String^>^ Split(
	String^ separators, 
	String^ list, 
	bool include
)

Parameters

separators
Type: System..::..String
separators for the tokens of the list
list
Type: System..::..String
the string that will be broken into tokens
include
Type: System..::..Boolean
true to include the separators in the tokens.

Return Value

[Missing <returns> documentation for "M:NHibernate.Util.StringHelper.Split(System.String,System.String,System.Boolean)"]

Remarks

This is more powerful than Split because you have the option of including or not including the separators in the tokens.

See Also