RAD Studio VCL Reference
TStrings.Put Method

Changes the value of the string with a specified index.

procedure Put(Index: Integer; const S: string); virtual;
virtual __fastcall Put(int Index, const AnsiString S);

Put is the protected write implementation of the Strings property. 

Put changes the value of the string with the index specified by Index to S. Put does not change the object at the specified position. That is, any object associated with the previous string becomes associated with the new string. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!