Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeString.Prepend Method

Adds data at the beginning of existing values in the thread-safe data type.

Pascal
procedure Prepend(
    const AValue: string
);
Parameters 
Description 
AValue 
Values to be added at the beginning of existing content. 

Prepend is a procedure used to insert the string data specified in AValue at the beginning of existing content in Value for the thread-safe data type. 

Prepend calls Lock to enable resource protect while updating the content of Value

Prepend calls Unlock to disable resource protection proper to exiting from the method. 

Use Append to add a value to the end of existing content in Value.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.