Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript replace string

var str = "JavaScript replace method test";
var res = str.replace("test", "success");  
//res = Javscript replace method success
 
PREVIOUS NEXT
Tagged: #javascript #replace #string
ADD COMMENT
Topic
Name
1+3 =