I need to split a string in C# using a set of delimiter characters. This set should include the default whitespaces (i.e. what you effectively get when you
String.Split(null, StringSplitOptions.RemoveEmptyEntries)
String.Split
Just use the appropriate overload of string.Split
if you're at least on .NET 2.0:
char[] separator = new[] { ' ', '.', ',', ';' };
string[] parts = text.Split(separator, StringSplitOptions.RemoveEmptyEntries);