Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove string character in center javascript

var str = "Hello World";
str = str.slice(0, 3) + str.slice(4);
console.log(str)
 Run code snippetHide results
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #string #character #center #javascript
ADD COMMENT
Topic
Name
3+3 =