DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript string remove substring
var string = "data-123"; string = string.replace('data-',''); alert(string)
PREVIOUS
NEXT
Tagged:
#javascript
#string
#remove
#substring
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit