Answers for "js find space in string"

2

javascript detect space in string

if(str.indexOf(' ') >= 0){
    console.log("contains spaces");
}
Posted by: Guest on November-14-2020
0

js find space in string

if(str.indexOf(' ') >= 0){
    console.log("contains spaces");
}
Posted by: Guest on December-18-2019

Code answers related to "Javascript"

Browse Popular Code Answers by Language