ionic string contains code example
Example: angular string contains
const string = "foo";
const substring = "oo";
console.log(string.includes(substring));
const string = "foo";
const substring = "oo";
console.log(string.includes(substring));