JavaScript remplacer la chaîne
var str = "JavaScript replace method test";
var res = str.replace("test", "success");
//res = Javscript replace method success
Batman
var str = "JavaScript replace method test";
var res = str.replace("test", "success");
//res = Javscript replace method success
let str = "Hello World!";
let res = str.replace("World", "Birds");
str.split(search).join(replacement);