Answers for "remove a word of string in 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 "remove a word of string in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language