1const string = "foo";
2const substring = "oo";
3
4console.log(string.includes(substring));
1const test = 'Hello World';
2if (test.includes('World')) {
3 // Found world
4}
1const string = "https://dmzlgw-bhdcdev.test.att.com";
2const substring = "att.com";
3
4console.log(string.includes(substring));