Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
if str contains jquery
Rita Lukeniene
Programming language:
Javascript
2021-06-24 16:40:48
0
Q:
if str contains jquery
Ayhan Buyuk
Code:
Javascript
2021-06-03 03:54:58
if (str.indexOf("Yes") >= 0) //case insensitive version if (str.toLowerCase().indexOf("yes") >= 0)
1
Tags
jquery
con
Related
jquery check if url contains string
New to Communities?
Join the community