Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript The replace() method

let text = "Please visit Microsoft!";
let newText = text.replace("Microsoft", "W3Schools");
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #javascript #The #method
ADD COMMENT
Topic
Name
1+6 =