[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_getcsv

Overview

Read CSV data from a file

Syntax

ns_getcsv fileId varName

Description

ns_getcsv reads one line of CSV data from the specified file and and sets the variable specified by varName to a list of the elements in that row. Any quotes in the line of data are removed. ns_getcsv returns the number of elements in the row.

A CSV file is an ASCII file containing rows of data in the following syntax:

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.