I have a variable var i = "my*text" I want to split it using special character *. I mean, I want to generate var one = "my&
var i = "my*text"
*
var one
values=i.split('*'); one=values[0]; two=values[1];