Lets say i have the following string:
var myString = "hello and welcome to my website";
Is there any function in Javascript to extract the part starting from a given substring?
For exemple:
var newString = extractString(myString, "welcome");
And newString will be "welcome to my website".