Poor-Pascal for Application

Delete

機能
文字列 S から部分文字列を削除した文字列を返します。
構文
function Delete(S:String; Index, Count: Integer): String;
説明

文字列 S の S[Index] から始まる Count 個の文字の部分文字列を削除した文字列を返します。 S はString型の変数です。Index と Count はInteger型の式です。 Index が S の長さより長い場合,削除は行われません。 Count が S[Index] 以降の文字数より大きい場合,S の終わりまでのすべての文字が削除されます。