System.SysUtils.StrLower

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StrLower(Str: PAnsiChar): PAnsiChar;
function StrLower(Str: PWideChar): PWideChar;

C++

extern DELPHI_PACKAGE char * __fastcall StrLower _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (char * Str)/* overload */;

Properties

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

Description

Warning: The ANSI version of StrLower is deprecated. Please use the AnsiStrings unit.

Converts a string to lowercase.

StrLower converts Str to lowercase and returns Str. StrLower 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 AnsiStrLower instead. If the source string is an AnsiString (long string), use LowerCase (or AnsiLowerCase) instead.

See Also

Code Examples