upper

Return a new string in which all case-based characters are in upper case.

This function does not generate an event.

Function

str.upper()

Arguments

None

Return value

Returns a new string with all characters in upper case.

Example

Example using upper():

'Hello World!!'.upper();

Return value in JSON format

"HELLO WORLD!!"