Topic Path: Symbol Reference > Functions > IdDelete Function
ContentsIndexHome
PreviousUpNext
IdDelete Function

Deletes a number of characters from a String beginning at a given position.

File
procedure IdDelete(
    var s: string; 
    AOffset: Integer; 
    ACount: Integer
);
Parameters 
Description 
Variable containing the characters to be deleted.
 
AOffset 
Position or index to begin deleting characters.
 
ACount 
Number of characters to be deleted. 

IdDelete is a procedure used to delete the number of characters in ACount from the variable argument specified in S starting at the position indicated in AOffset. IdDelete isolates the platform- and operating system-specific routines required to perform the delete operation. 

 

On the .Net platform, IdDelete calls Borland.Delphi.System.Delete. 

 

For all other platforms, IdDelete calls the Move procedure from the System.pas unit.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.