check if char is a letter js code example Example: check if something is a letter in js string.charAt(1).toUpperCase() !== string.charAt(1).toLowerCase()