title: How do I convert a string into an array?
body: <p>I have a string like this <code>string strings=" black door,white door,red door "</code><br>
  Now I want to put this string into array.<br>
  I use split  <code>myarray = strings.split(',')</code> then array look like this: <code>black,door,white,door,red,door.</code><br></p>
  
  <p>I want to put the string into the array after each occurance of comma not on the space. I want it like this in the array:
   <code>black door,white door,red door.</code></p>