I have this string
\'john smith~123 Street~Apt 4~New York~NY~12345\'
Using JavaScript, what is the fastest way to parse this into
JavaScript: Convert String to Array JavaScript Split
var str = "This-javascript-tutorial-string-split-method-examples-tutsmake."
var result = str.split('-');
console.log(result);
document.getElementById("show").innerHTML = result;
How do you split a string, breaking at a particular character in javascript?
https://www.tutsmake.com/javascript-convert-string-to-array-javascript/