javascript uses find to return the first string that starts with a particular letter. code example
Example: javascript string starts with
//checks if a string starts with a word
function startsWith(str, word) {
return str.lastIndexOf(word, 0) === 0;
}
startsWith("Welcome to earth.","Welcome"); //true