Answers for "find and replace it in a string javascript"

0

find and replace it in a string javascript

var name = "Pieter";
console.log(name.replace("Pi", "P"));
Posted by: Guest on October-28-2021

Code answers related to "find and replace it in a string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language