Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove character at index from string javascript

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

console.log(str)  // Helo World
 
PREVIOUS NEXT
Tagged: #remove #character #index #string #javascript
ADD COMMENT
Topic
Name
6+7 =