Answers for "remove character at index"

0

remove character at index

// removing char at index 3
var str = "Hello World";
str = str.slice(0, 3) + str.slice(4);

console.log(str)  // Helo World
Posted by: Guest on August-17-2020
0

delete character between index

S = S.replace(S.substring(b_index, e_index), "");
Posted by: Guest on August-17-2020

Code answers related to "remove character at index"

Code answers related to "Javascript"

Browse Popular Code Answers by Language