RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.Insert Method

Inserts a WideString at a specified position in the list.

Pascal
procedure Insert(Index: Integer; const S: WideString);
C++
__fastcall Insert(int Index, const BSTR S);

Call Insert to add a WideString to a specified position in the list. Insert adds the string specified by S so that it has the index specified by Index. The string previously at that position, as well as all subsequent strings in the list are moved so that their indexes are one greater than before. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!