The length of a string is found in the built-in property length. By using the length property, the function will return the number of characters in the string variable named alphabet:
var alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var stringLength = alphabet.length;