var str = "Hello world, welcome to the universe."; var n = str.includes("world");
const test = 'Hello World'; if (test.includes('World')) { // Found world }