toUpperCase Method
Description
Places the text in the object in all upper case characters.Syntax
strVariable.toUpperCase( ) "String Literal".toUpperCase( )
Remarks
This method has no effect on non-alphabetic characters.
Below is an example of the effects of the toUpperCase method:
var strVariable = "This is a STRING object" strVariable.toUpperCase()The value of strVariable after the last statement above is: THIS IS A STRING OBJECT