Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js string startswith ignore case

let name = "FoOOBaAr"
let match = "fOO"

if (name.toLowerCase().startsWith(match.toLowerCase())) {....
 
PREVIOUS NEXT
Tagged: #js #string #startswith #ignore #case
ADD COMMENT
Topic
Name
5+5 =