BuiltIn.GetListItem Method

Applies to TestComplete 15.65, last modified on June 25, 2024
This method is obsolete. See the Remarks section below.


In TestComplete, some methods and properties return a list of items, for instance, Win32ComboBox.wItemList. That is, they return a string that contains items separated by line breaks (0Dh, 0Ah symbols). GetListItem returns an item by its index in such a list.


BuiltIn.GetListItem(List, Index, Delimiter)

List [in]    Required    String    
Index [in]    Required    Integer    
Delimiter [in]    Optional    String Default value: CR, LF   
Result String

Applies To

The method is applied to the following object:


The method has the following parameters:


A string that holds a list of values separated by line break and carriage return symbols.


A zero-based index of the desired item in the list.


A character or string that is used as an item separator in a string specified by the List parameter. By default, TestComplete considers that the items are separated with line breaks (0Dh, 0Ah symbols).

Result Value

A list item that has the specified index in this list.


This method is obsolete. It is supported for backward compatibility only. To retrieve items from a list, use the aqString.GetListItem method.

See Also

GetListItem Method
GetListLength Method
ListSeparator Property

Highlight search results