I am starting to learn a little bit more advanced js and i want to check if string contains a word at the start of the line. Something like this would be good!:
var string = "Hello world";
if (string.contains("Hello", start) == true)
{
console.log("success");
}