JS String StartSwith Ignore Case
let name = "FoOOBaAr"
let match = "fOO"
if (name.toLowerCase().startsWith(match.toLowerCase())) {....
Wide-eyed Fox
let name = "FoOOBaAr"
let match = "fOO"
if (name.toLowerCase().startsWith(match.toLowerCase())) {....