Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove middle characters in string javascript

var str = "Hello World";
str = str.slice(0, 3) + str.slice(4);
console.log(str)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #middle #characters #string #javascript
ADD COMMENT
Topic
Name
9+6 =