FMX.Text.ITextActions.Replace

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

Delphi

procedure Replace(const AStartPos: Integer; const ALength: Integer; const AStr: string);

C++

virtual void __fastcall Replace(const int AStartPos, const int ALength, const System::UnicodeString AStr) = 0 ;

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
FMX.Text.pas
FMX.Text.hpp
FMX.Text ITextActions

説明

開始点と長さで指定されたテキストを、指定されたテキストと置き換えます。

AStartPos は、置き換えられるテキストの開始点を示します。

ALength は、置き換えられるテキストの長さを示します。

AStr は、置き換えるテキストを示します。

Replace は、指定されたテキストを別のテキストと置き換えるように実装します。

関連項目