Answers for "how to check if text input has spaces javascript"

0

how to check if text input has spaces javascript

function hasWhiteSpace(s) {
  return s.indexOf(' ') >= 0;
}
Posted by: Guest on September-20-2021

Code answers related to "how to check if text input has spaces javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language