System.AnsiStrings.StrUpper

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StrUpper(Str: PAnsiChar): PAnsiChar;

C++

extern DELPHI_PACKAGE char * __fastcall StrUpper(char * Str)/* overload */;

Properties

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

Description

Returns a string in uppercase.

StrUpper converts Str to uppercase and returns Str. StrUpper only returns a copy of Str if the type of the return variable forces a cast.

Note: If the source string contains international characters, use AnsiStrUpper instead. If the source string is an AnsiString (long string), use UpperCase (or AnsiUpperCase) instead.

See Also

Code Examples