System.Character.TCharacter.ToUpper
Delphi
class function ToUpper(C: Char): Char; overload; inline; static;
class function ToUpper(C: UCS4Char): UCS4Char; overload; inline; static;
class function ToUpper(const S: string): string; overload; inline; static;
C++
static System::WideChar __fastcall ToUpper(System::WideChar C)/* overload */;
static unsigned __fastcall ToUpper(unsigned C)/* overload */;
static System::UnicodeString __fastcall ToUpper(const System::UnicodeString S)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Character.pas System.Character.hpp |
System.Character | TCharacter |
Description
Converts a UTF-16 char to its uppercase equivalent according to the Unicode specification.
This function is overloaded.
Converts the UTF-16 char C to its uppercase equivalent according to the Unicode specification, if it exists; otherwise it returns the value passed in.
Returns a copy of the string S in which all characters have been converted to their uppercase equivalents according to the Unicode specification.
See Also
Code Examples