System.Character.ToUpper

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ToUpper(C: Char): Char;
function ToUpper(C: UCS4Char): UCS4Char;
function ToUpper(const S: string): string;

C++

extern DELPHI_PACKAGE System::WideChar __fastcall ToUpper(System::WideChar C)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Character.pas
System.Character.hpp
System.Character System.Character

Description

Attention: ToUpper is deprecated. Please use TCharHelper.ToUpper.

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