I\'m trying to use String.Split() to split a query, in that case a HiveQL query.
The case I have is I want to split along ; except when that ;
;
You need a negative lookbehind for that:
String.Split("(?
Here is a demo on ideone.