Answers for "how to remove middle characters in string javascript"

0

how to remove middle characters in string javascript

var str = "Hello World";
str = str.slice(0, 3) + str.slice(4);
console.log(str)
Posted by: Guest on February-06-2021

Code answers related to "how to remove middle characters in string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language