Description:
This method is used to convert the characters within a string to upper case while respecting the current locale. For most languages, this will return the same as toUpperCase.Syntax:
string.toLocaleUpperCase( ) |
- NA
Return Value:
- A string into upper case with the current locale.
Example:
<html> <head> <title>JavaScript String toLocaleUpperCase() Method</title> </head> <body> <script type="text/javascript"> var str = "Apples are round, and Apples are Juicy."; document.write(str.toLocaleUpperCase( )); </script> </body> </html> |
This will produce following result:
APPLES ARE ROUND, AND APPLES ARE JUICY.
+JavaScript +JavaScript Frameworks Links +Javascript Development +JavaScript's and More, Software and Marketing +JavascriptU +JavaScriptOn +Javascript Problems +JavaScriptOn +javaScript is a creek in West Virginia in the summe
No comments: