Answers for "js ignore case"

0

js ignore case

var str = "Visit W3Schools!";
var patt1 = /W3S/i;
var res = patt1.ignoreCase
Posted by: Guest on May-29-2020
0

compare string camelcase and lowercase javascript

function sameCase(str) {
  return /^[A-Z]+$/.test(str) || /^[a-z]+$/.test(str);
}
Posted by: Guest on June-19-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language