System.AnsiStrings.AnsiLeftStr
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.