javascript string swap out char code example
Example: js replace characters in a string
var str = "Original string!";
var str = str.replace("Original", "New");
var str = "Original string!";
var str = str.replace("Original", "New");