How to compare a character in a string with an upper case letter?
var str=new String(); str=prompt('Введите строку'); var n=str.length for (var i=0; i<n; i++) { if (str.charAt(i)==["AZ"]) { document.write (str.charAt(i)) } } I want the upper case characters to appear on the page, I don’t know how to correctly write the symbol comparison with the upper case letters
A-Za-z)? - hindmost