title: Adding comma after each word in JavaScript
body: <p>I have selected tag input and I can choose multiple items using <a href="http://nicolasbize.com/magicsuggest/" rel="nofollow noreferrer">MagicSuggest</a> plugin.</p>
  
  <p>The problem is that the value that I get after the choice is a string separated without a comma.</p>
  
  <p><strong>Like:</strong></p>
  
  <blockquote>
    <p>MVCPHPASP.Net</p>
  </blockquote>
  
  <p><strong>I want to change it to:</strong></p>
  
  <blockquote>
    <p>MVC,PHP,ASP.Net</p>
  </blockquote>
  
  <p>The result that I get when I choose multiple items : 
  <a href="https://i.stack.imgur.com/9VoXm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9VoXm.png" alt=""></a></p>
  
  <p>The string that I get when I alert : </p>
  
  <p><a href="https://i.stack.imgur.com/8D7LX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8D7LX.png" alt=""></a></p>
  
  <p>So how can I do that?</p>