Answers for "delete a word from string using splice javascript"

2

remove word from string javascript

var str = "delete-this"
str.replace('delete-','') // str = "this"
Posted by: Guest on July-18-2021

Code answers related to "delete a word from string using splice javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language