title: Split variable using a special character in JavaScript
body: <p>I have a variable <code>var i = &quot;my*text&quot;</code> I want to split it using special character <code>*</code>. I mean, I want to generate <code>var one</code> = &quot;my&quot; and <code>var two</code> = &quot;text&quot; from the above variable.</p>
  <p>How can I do this using jQuery and (or) JavaScript?
  .</p>