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" and var two = "text" from the above variable.
How can I do this using jQuery and (or) JavaScript? .
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" and var two = "text" from the above variable.
How can I do this using jQuery and (or) JavaScript? .