Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript replace

var string = "Javascript is fun";
var newString = string.replace("fun", "Awesome");
console.log(newString); // Javascript is Awesome
Source by pt.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #replace
ADD COMMENT
Topic
Name
3+3 =