I have a long string and I want to split it into 3 pieces and show them in a text box?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/96428/how-do-i-split-this-string-with-javascript">How do I split this string with JavaScript?</a>  </p>
</blockquote>



<p>My point is something like this that I have a string and i have stored it into a variable
somethink like this</p>

<pre><code>var text1 = "show, text, into input";
</code></pre>

<p>Can I show this variable into three different inputs which are in HTML? I mean every word after ", " should be show into an input.</p>
