Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript check if blank space

function isEmptyOrSpaces(str){
    return str === null || str.match(/^ *$/) !== null;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #check #blank #space
ADD COMMENT
Topic
Name
2+4 =