Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 non-alphabetic characters.
Legacy Code Example
The following example demonstrates the effects of the toUpperCase method:
var strVariable = "This is a STRING object";
strVariable = strVariable.toUpperCase( );
The value of strVariable after the last statement is:
THIS IS A STRING OBJECT
Requirements
Applies To: String Object (Windows Scripting - JScript)
See Also
toLocaleUpperCase Method (Windows Scripting - JScript)
toLowerCase Method (Windows Scripting - JScript)