System.Character.TCharHelper.ToUpper
Delphi
function ToUpper: Char; overload;
class function ToUpper(const S: string): string; overload; static;
class function ToUpper(C: UCS4Char): UCS4Char; overload; static;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | System.Character.pas | System.Character | TCharHelper | 
Description
Converts a UTF-16 char to its uppercase equivalent according to the Unicode specification.
This function is overloaded:
- Converts the UTF-16 char Cto its uppercase equivalent according to the Unicode specification, if it exists; otherwise it returns the value passed in.
- Returns a copy of the string Sin which all characters have been converted to their uppercase equivalents according to the Unicode specification.