RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.AnsiStrUpper Function

Converts all characters in a null-terminated string to upper case.

Pascal
function AnsiStrUpper(Str: PAnsiChar): PAnsiChar; overload;
function AnsiStrUpper(Str: PWideChar): PWideChar;
C++
PAnsiChar AnsiStrUpper(PAnsiChar Str);
PWideChar AnsiStrUpper(PWideChar Str);

AnsiStrUpper returns a null-terminated string where all characters are upper case. The conversion uses the current locale.

Note: This function supports multi-byte character sets (MBCS).
 

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