System.Character.ToUpper

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

extern DELPHI_PACKAGE System::WideChar __fastcall ToUpper _DEPRECATED_ATTRIBUTE1("Use TCharHelper") (System::WideChar C)/* overload */;

Properties

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

Description

Warning: 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