how to check whthere a text inside another text in javascript code example
Example: typescript string contains
const test = 'Hello World';
if (test.includes('World')) {
// Found world
}
const test = 'Hello World';
if (test.includes('World')) {
// Found world
}