Classified Sites List Classified Sites List List of Making Back-links

1. Australia Classified Sites

2. Canada Classified List

3. UK Classified Sites

4. USA Classified Sites List

1. UAE Classified Sites List

2. Indian Classified Sites List

3. Pakistani Classified Sites List

4. Bangladeshi Classified Sites List

1. High PR Do-follow Guest Posting Sites list

2. 20 High PR Social Networking Site List 2016

3. PR-5 Do Follow Social Bookmarking Site list 2016

4. Do-follow Social Bookmarking Website list 2016

5. 100 High Page Rank Do-follow Social Bookmarking lists 2016

6. Directories Submission Sites List

7. Articles Submission Sites List

Check a String Contains Another Sub-String in JavaScript

Hi readers hope you all will be fine, today in this post i show you how you can check a string contains another sub-string in JavaScript. I describe an easy to do that task.  String.indexof is a JavaScript function which find and return the position of string with in the string.

var string = “foo”,
substring = “foo”;
console.log(string.indexOf(substring) !== -1);

and when you run the code result is True.

Hope you can easily check by using above code.

About Moazzam Qureshi

I am SEO expert and web developer since 2011. My hobby is to write & provides quality content about blogging, SEO , Social Media , Earn Online and Affiliate Marketing.