I\'m converting an array into a string using String.Join. A small issue I have is that, in the array some index positions will be blank. An example is below:
String.Join
Regular expression solution:
yourString = new Regex(@"[,]{2,}").Replace(yourString, @",");