Reference → toUpperCase() Converts c to uppercase, if possible. toUpperCase(thisChar) thisChar: variable. Allowed data types: char. The converted character is returned, or thisChar if conversion is not possible.