title: Javascript to cut same second character on a text
body: <p>For example I have text: </p>
  
  <pre><code>var x="default_1305, default_1695, default_1805";
  </code></pre>
  
  <p>I want to cut before the second comma to get this text:"default_1305, default_1695". </p>
  
  <p>How can I do this?</p>