String.toUpperCase

Returns the calling string value converted to uppercase.

Method of String

Syntax

toUpperCase()

Parameters

None

Description

The toUpperCase method returns the value of the string converted to uppercase. toUpperCase does not affect the value of the string itself.

Examples

The following example displays the string "ALPHABET":

See also

String.toLowerCase

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.