toUpperCase
toUpperCase is a string transformation operation that converts all alphabetic characters in a string to uppercase. It typically returns a new string and does not modify the original input. The transformation uses Unicode case mappings so that letters from various scripts are converted to their uppercase equivalents, while non-letter characters such as digits and punctuation remain unchanged.
In many programming languages, the function is exposed as a method named toUpperCase on string values. For
For locale-aware casing, many environments provide a separate variant, such as toLocaleUpperCase(locale). This allows uppercase mapping
Compatibility and usage notes: The concept appears across many languages, including Java, C#, Python, and JavaScript.