DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
check if a string contains digits js
function hasNumber(myString) { return /d/.test(myString); }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#check
#string
#digits
#js
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit