check if a string contains a character typescript code example
Example: js string contais
const string = "foo";
const substring = "oo";
console.log(string.includes(substring));
const string = "foo";
const substring = "oo";
console.log(string.includes(substring));