RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Character.ToUpper Function

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

Pascal
function ToUpper(C: Char): Char; overload;
function ToUpper(const S: string): string; overload;
C++
Char ToUpper(Char C);
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!