toUpperCase Summary Converts each character of the string to uppercase. Usage public string toUpperCase() Returns A new string with all characters of the original string converted to uppercase letters. Description Converts each character of the string to its equivalent Unicode uppercase character and returns the result. For characters that have no Unicode uppercase equivalent, the character is not substituted. Examples Basic Usage 12345import System; string lowercase = "abc";string uppercase = lowercase.toUpperCase();Console.log(uppercase); // "ABC" Convert Greek "Gamma" to Uppercase 12345import System; string lowercase = "�";string uppercase = lowercase.toUpperCase();Console.log(uppercase); // "�" Share HTML | BBCode | Direct Link