System.AnsiStrings.AnsiLeftStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AnsiLeftStr(const AText: AnsiString; const ACount: Integer): AnsiString;

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall AnsiLeftStr(const System::AnsiString AText, const int ACount)/* overload */;

Properties

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

Description

Returns substring of specified length at start of string.

AnsiLeftStr returns the leading characters of AText up to a length of ACount characters. This function supports multi-byte character strings (MBCS) AnsiStrings.

See Also