How do I check if one string contains another substring?

Using JavaScript | taught by Steve Smith Watch Intro Video

Course description

JavaScript provides a few different ways to detect if one string contains another. This is a frequently asked question on StackOverflow.com, and several of the best solutions there are detailed in this short video solution.

Steve Smith
Steve Smith
Instructor

Steve is an experienced software developer, mentor, and trainer.

Course Curriculum

Solution
03:51
Solution Walkthrough
JSFiddle
Show Content