0

Find if a string contains a substring in JavaScript!

javascript

This post will explain how to find a substring in a string using pure JavaScript. Let’s see how can we achieve this.

The above script will show an alert ‘true’ because sub-string ‘tin’ is present in the string ‘testing’.… Continue Reading