toUpperCase()

Convert the calling string to upper case.

Signature

toUpperCase(): String

Description

The toUpperCase() method converts the calling string to upper case. The calling string isn’t changed.

Parameters

None

Return value

Type Description

String

Value of the calling string converted to upper case.

Examples

Convert an email address to upper case:

"neseyi8913@irebah.com".toUpperCase()
"NESEYI8913@IREBAH.COM"

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!