title: Removing extra commas from string after using String.Join to convert array to string (C#)
body: <p>I'm converting an array into a string using <code>String.Join</code>. A small issue I have is that, in the array some index positions will be blank. An example is below:</p>
  
  <pre><code>array[1] = "Firstcolumn"
  array[3] = "Thirdcolumn"
  </code></pre>
  
  <p>By using String.Join(",", array);, I'll get the following:</p>
  
  <blockquote>
    <p>Firstcolumn,,Thirdcolumn</p>
  </blockquote>
  
  <p>Note the extra <code>,.</code> </p>
  
  <p>How can I remove the extra commas from the string, or ideally not include blank indices when using String.Join?</p>