title: How do I remove commas from an array of strings
body: <p>I have a list of arrays as so:</p>
  
  <pre><code>0: "1 Trenchard Road, , , , Saltford, Bristol, Avon"
  1: "10 Trenchard Road, , , , Saltford, Bristol, Avon"
  2: "11 Trenchard Road, , , , Saltford, Bristol, Avon"
  3: "12 Trenchard Road, , , , Saltford, Bristol, Avon"
  </code></pre>
  
  <p>And I want to remove the commas in the middle:</p>
  
  <pre><code> , , , 
  </code></pre>
  
  <p>I am using Lodash and looked at using <code>_.compact()</code> however this doesn't seem to be getting me anywhere.</p>
  
  <p>Let me know your thoughts</p>
  
  <p>Update </p>
  
  <pre><code>                var addressArray = getAddressData.data.Addresses;
  
                  scope.items = _.compact(addressArray);
  
                  console.log(scope.items);
  </code></pre>