Splits the String using the StringTokenizer.
Namespace:
NHibernate.UtilAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function Split ( _ separators As String, _ list As String, _ include As Boolean _ ) As String() |
C# |
---|
public static string[] Split( string separators, string list, bool include ) |
Visual C++ |
---|
public: static array<String^>^ Split( String^ separators, String^ list, bool include ) |
JavaScript |
---|
NHibernate.Util.StringHelper.split = function(separators, list, 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 seperators in the tokens.
Return Value
Remarks
This is more powerful than Split because you have the option of including or
not including the seperators in the tokens.