Home How to check whether a string contains a substring in JavaScript?
Reply: 0

How to check whether a string contains a substring in JavaScript?

user168
1#
user168 Published in June 20, 2018, 10:52 pm

Usually I would expect a String.contains() method, but there doesn't seem to be one.

What is a reasonable way to check for this?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.483504 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO