Pages

Javascript String - toUpperCase() Method

Description:

This method returns the calling string value converted to uppercase.

Syntax:

string.toUpperCase( )
Here is the detail of parameters:
  • NA

Return Value:

  • Returns a string representing the specified object.

Example:

<html>
<head>
<title>JavaScript String toUpperCase() Method</title>
</head>
<body>
<script type="text/javascript">

var str = "Apples are round, and Apples are Juicy.";

document.write(str.toUpperCase( ));
</script>
</body>
</html>

This will produce following result:

APPLES ARE ROUND, AND APPLES ARE JUICY.
 
+JavaScript Frameworks Links +Javascript Development  +JavascriptU 
  +Javascript Problems   +javaScript is a creek in West Virginia in the summer  
 
 

No comments:

Flag Counter
| Copyright © 2013 Remote Tutor