This specialized string tokenizier will break a string to tokens, taking into account single quotes, parenthesis and commas and [ ] Notice that we aren't differenciating between [ ) and ( ] on purpose, it would complicate the code and it is not legal at any rate.

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

Syntax

C#
public class QuotedAndParenthesisStringTokenizer : IEnumerable<SqlString>, 
	IEnumerable
Visual Basic
Public Class QuotedAndParenthesisStringTokenizer _
	Implements IEnumerable(Of SqlString), IEnumerable
Visual C++
public ref class QuotedAndParenthesisStringTokenizer : IEnumerable<SqlString^>, 
	IEnumerable

Inheritance Hierarchy

System..::..Object
  NHibernate.Dialect..::..Dialect..::..QuotedAndParenthesisStringTokenizer

See Also