TStrings.Add

Applies to TestComplete 14.10, last modified on June 5, 2019

Adds a string at the end of the list.

Declaration

TStringsObj.Add(S) Parameters
TStringsObj     A TStrings object  
S [in] Required String
Result     Integer  

Description

The Add method adds a specified string at the end of the list. To add the string to a particular position in the list, use the Insert method.

Parameters

The method has the following parameter:

S

The string to be added to the list.

Return Value

A zero-based integer number that signifies the position of the added string in the list.

See Also

TStrings.BeginUpdate
TStrings.Delete
TStrings.Insert
TStrings.LoadFromFile
TStrings.Move

Highlight search results