string.toUpperCase() : toUpperCase « String « JavaScript Tutorial






The toUpperCase() method converts the characters to all uppercase values.

<html>
    <script language="JavaScript">
    <!--
    var myString = new String(prompt("Please enter some various case text", ""));

    document.write(myString.toUpperCase());

    document.close();

    -->

    </script>
</html>








6.36.toUpperCase
6.36.1.string.toUpperCase()
6.36.2.Convert String to upper case