Applies to TestComplete 14.70, last modified on October 26, 2020
This method is obsolete. See the Remarks section below.

Description

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

Declaration

BuiltIn.GetCSVCount(List)

List [in]    Required    String    
Result Integer

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

List

A string that holds comma-separated values whose number you want to count.

Result Value

An integer value that means the number of comma-separated values in the passed string.

Remarks

This method is obsolete. It is supported for backward compatibility only. To get the number of items in a comma-separated list, assign "," to the aqString.ListSeparator property, and then use the aqString.GetListLength method.

See Also

GetListLength Method
GetListItem Method
ListSeparator Property

Highlight search results