Quick question here. 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:
array[1] = "Firstcolumn"
array[3] = "Thirdcolumn"
By using String.Join(",", array);, I'll get the following:
Firstcolumn,,Thirdcolumn
Note the extra ,. How can I remove the extra commas from the string, or ideally not include blank indices when using String.Join?