JavaStringtoUpperCase

Converts all characters to uppercase.

Syntax

str.toUpperCase()