Answers for "remove word in string js"

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 "Javascript"

Browse Popular Code Answers by Language