Last Updated: February 25, 2016
·
430
· marcuso

Split a string with different delimiters

String StringToSplit = "aa;bb,cc;dd";
char[] delimiters = new char[] { ';', ',' };
StringToSplit.Split(delimiters);