How can i split the string containing tag using jquery. I tried the following code but it get error in console. I am not sure how to split the strin
Try using this:
var exploded = lines.split('');
more info here