JCL Help:TWideStringList.Insert

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Inserts a WideString at a specific position.


Pascal

 public procedure Insert(Index: Integer; const S: WideString); override;


Parameters

Parameters Description
Index: Integer The zero based index at which to insert the new string.
const S: WideString The string to insert at the specified position.


Description

Insert inserts a WideString at a specific position within the list. Index denotes the zero based position at which to insert, specifying 0 will insert at the beginning (first position) of the list, 1 will insert at the second position etc. Note that you cannot insert a string into a sorted list. An attempt to do so raises an exception.


About

Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page