Skip to main content Link Search Menu Expand Document (external link) Copy Copied

item

Gets a field, or an array with an entire record, from the result CSVArrayList on the current instance.


ReadWrite

ReadOnly


Syntax

expression.item(Index1, [Index2])

Parameters

Part Description
Index1 Required. Identifier specifying a numeric Type value representing the position, in the first dimension of the result array, over which the requested data will be retrieved.
Index2 Optional. Identifier specifying a numeric Type value representing the position, over a vector from the result array, on which the requested data will be retrieved.

Returns

Type: Variant

📝Note

The item property can be used for check information from the class internals over certain range of parsed CSV data.

If user only provide the Index1 as argument, an array with an entire record will be returned; if user provide more than one argument, the Index2 will be used to return a field.

⚠️Caution

The user must check, through the uniformLengthRecords, if the read CSV has records with varying number of fields. This step can prevent potential “subscript out of range” error.

See also
vectorsBound property, uniformLengthRecords property.

Back to Properties overview