System.AnsiStrings.AnsiLeftStr

提供: RAD Studio API Documentation
移動先: 案内検索

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

プロパティ

種類 可視性 ソース ユニット
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

説明

文字列の先頭から指定された長さの部分文字列を返します。

AnsiLeftStr は、AText の先頭から ACount 文字の長さの文字を返します。この関数は、マルチバイト文字列(MBCS)の AnsiString をサポートします。

関連項目