SyntaxFix
Write A Post
Hire A Developer
Questions
A way to do this without Linq & Lambdas
string source = "a,b, b, c"; string[] items = source.Split(new char[] { ',', ' ' }, StringSplitOptions.RemoveEmptyEntries);