BuiltIn.GetCSVItem Method

Applies to TestComplete 15.47, last modified on January 20, 2023
This method is obsolete. See the Remarks section below.

Description

This routine is used along with BuiltIn.GetCSVCount to parse CSV (comma separated values) files. Each string in this file contains values separated by commas. GetCSVItem returns a value by its index in the string.

Declaration

BuiltIn.GetCSVItem(List, Index)

List [in]    Required    String    
Index [in]    Required    Integer    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

List

A string that holds comma-separated values whose part you want to get.

Index

A zero-based index of the desired part of the comma-separated values string.

Result Value

Part of the passed comma-separated values string that has the specified index in this string.

Remarks

This method is obsolete. It is supported for backward compatibility only. To retrieve items from a comma-separated list, assign "," to the aqString.ListSeparator property, and then use the aqString.GetListItem method.

See Also

GetListItem Method
GetListLength Method
ListSeparator Property

Highlight search results