RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCharacter.ToUpper Method (Char)

Converts a UTF-16 char to its upper case equivalent according to the Unicode specification.

Pascal
class function ToUpper(C: Char): Char; overload; static;
class function ToUpper(const S: string): string; overload; static;
C++
static __fastcall Char ToUpper(Char C);
static __fastcall AnsiString ToUpper(const AnsiString S);

This function is overloaded. 

Converts the UTF-16 char C to its upper case 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!