JavaScript toUpperCase() Method
Complete String Object Reference
Definition and Usage
The toUpperCase() method is used to display a string in uppercase letters.
Syntax
stringObject.toUpperCase()
|
Example
In this example "Hello world!" will be displayed in upper case letters:
<script type="text/javascript">
var str="Hello world!";
document.write(str.toUpperCase());
</script>
|
Try-It-Yourself Demos
toUpperCase()
How to use toUpperCase() to display a string in upper case letters.
Complete String Object Reference
Learn XML with <oXygen/> XML Editor - Free Trial!
|
|
oXygen helps you learn to define,
edit, validate and transform XML documents. Supported technologies include XML Schema,
DTD, Relax NG, XSLT, XPath, XQuery, CSS.
Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!
Do you have any XML related questions? Get free answers from the oXygen
XML forum
and from the video
demonstrations.
Download a FREE 30-day trial today!
|
|