System.Character.TCharHelper.ToUpper

From RAD Studio API Documentation
Jump to: navigation, search

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