toUpperCase

.toUpperCase()

Returns a copy of this string where all characters are converted to upper case.

// lower becomes: "ABC XYZ"
lower = "aBc XyZ"

See also

toLowerCase