DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove word from string javascript
var
str
=
"delete-this"
str
.
replace
(
'delete-'
,
''
)
// str = "this"
PREVIOUS
NEXT
Tagged:
#remove
#word
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit