System.StrUtils.AnsiLeftStr

De RAD Studio API Documentation
Aller à : navigation, rechercher

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 */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

Description

Renvoie la sous-chaîne de longueur spécifiée à partir du début d'une chaîne.

AnsiLeftStr renvoie les premiers ACount caractères de AText.

Voir aussi