title: trim all strings in an array
body: <p>I have a string that comes in like:</p>
  
  <pre><code>string email = "a@a.com, b@b.com, c@c.com";
  </code></pre>
  
  <p>I want to split it into an array of strings</p>
  
  <p>If I do this:</p>
  
  <pre><code>string[] emails = email.Split(',');
  </code></pre>
  
  <p>I get spaces in front of each email address (after the first one):</p>
  
  <pre><code>emails[0] = "a@a.com"
  emails[1] = " b@b.com"
  emails[2] = " c@c.com"
  </code></pre>
  
  <p>What is the best way to get this (either a better way to parse or a way to trim all strings in an array)?</p>
  
  <pre><code>emails[0] = "a@a.com"
  emails[1] = "b@b.com"
  emails[2] = "c@c.com"
  </code></pre>