KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to check whether a string contains another string or not? var str1 = "ABCDEFGHIJKLMNOP"; var str2 = "DEFG"; Which function do I use to find out if str1 contains str2?
Tags (comma-separated)
Save Edits
Cancel