Edit on
var myString = "abcdefghijklmnopqrstuvwxyz";

var firstString = myString.substr(3);
var indexString = myString.substr(myString.indexOf("d"));

document.write( "substr: " + firstString);
document.write("<br/>");
document.write("substr.indexOf: " + indexString);
Rerun