Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript - How do I check if string contains substring?

if (str.toLowerCase().indexOf("yes") >= 0)
Source by worcraft-algeria-dz.com #
 
PREVIOUS NEXT
Tagged: #javascript #How #I #check #string
ADD COMMENT
Topic
Name
1+2 =