title: Explode string and make a line break after each word
body: <p>I have a textbox (I usually call it like this: <code>document.forms[0].text.value</code>)
  that has this kind of value:</p>
  
  <pre><code>a,b,c,d,e,f,g,etc
  </code></pre>
  
  <p>what I want to do is "explode" (like the php function) on each of the commas in the above string, then put it back into the textbox so I end up with this:</p>
  
  <pre><code>a
  b
  c
  d
  e
  f
  g
  etc
  </code></pre>
  
  <p>Doing a little Googling I see I will need to use <code>split()</code> but doing something like:</p>
  
  <pre><code>st.split(",") + "&lt;br /&gt;";
  </code></pre>
  
  <p>is giving me nothing but invalid results.</p>