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.
How to search for a substring in a string in Javascript?
Ask by Anoop Singh
Updated 28 Feb 2011
You can search sub string in a string using search() method of Javascript
Here is the example,
Hop this will solve your problem.