Converts all lowercase characters in a string to uppercase and returns the resulting string.

Syntax

<expC>.toUpperCase( )

<expC>

The string you want to convert to uppercase.

Property of

String

Description

Other than the syntactic difference of being a method instead of a function, this method behaves identically to the UPPER( ) function.