Determining Whether Lowercase or Uppercase Strings Are 'More Equal' Using an If Statement
<HTML>
<BODY>
<H1>
<SCRIPT> if ("aa" > "AA") {
document.write("Lower case is greater than upper case!");
} else if ("hogwarts" == "HOGWARTS") {
document.write("They are the same!");
} else {
document.write("Upper case is greater than lower case!");
}
</SCRIPT>
</H1>
</BODY>
</HTML>