check if string has certain caracters js code example
Example 1: how to identify specific letter from a string in javascript
var str = "Hello world, welcome to the universe.";
var n = str.includes("world", 12);
Example 2: javascript check if string contains a text substring
stringVariable.includes("Your Text");