title: How to trim white space from all elements in array?
body: <p>I was just wondering what the best way to remove the white space from all the elements of a list would be.</p>
  
  <p>For example if I had   <code>String [] array = {" String", "Tom Selleck "," Fish "}</code>
  How could I get all the elements as <code>{"String","Tom Selleck","Fish"}</code></p>
  
  <p>Thanks!</p>