Microsoft® JScript® toUpperCase Method |
Language Reference Version 1 |
Description
Returns a string where all alphabetic characters have been converted to uppercase.
Syntax
strVariable.toUpperCase( )
"String Literal".toUpperCase( )
Remarks
The toUpperCase method has no effect on nonalphabetic characters.The following example demonstrates the effects of the toUpperCase method:
The value of strVariable after the last statement is:var strVariable = "This is a STRING object"; strVariable = strVariable.toUpperCase( );
THIS IS A STRING OBJECT