Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

string to number javascript & remove text

var str = "data-123";
str = str.replace("data-", "");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #number #javascript #remove #text
ADD COMMENT
Topic
Name
3+5 =