Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check presense of nmber in a string javascript

function hasNumber(myString) {
  return /d/.test(myString);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #presense #nmber #string #javascript
ADD COMMENT
Topic
Name
3+6 =