Answers for "change string with string js"

3

change string with string js

var str ="Hello World!";
str.replace("Hello", "Hi");
Posted by: Guest on March-01-2022
-1

how to change a sting into js code

eval('you code here')
Posted by: Guest on March-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language