Hi, I'm new to Javascript and have requirement where I have to check whether particular sub string exist in a string or not. Thanks in advance.
You can search sub string in a string using search() method of Javascript
Here is the example,
Hop this will solve your problem.