System.StrUtils.AnsiLeftStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Returns the substring of a specified length that appears at the start of a string.

AnsiLeftStr returns the leading characters of AText up to a length of ACount characters.

See Also