Roedy Green wrote:
> On Mon, 17 Mar 2008 03:55:15 -0700 (PDT), vinitbhu
> <> wrote, quoted or indirectly quoted someone who
> said :
>
>> Au: Pandey, Anand K
>
> you can read the file with CSVReader. Just tell is your field
> separator is a ':' insteao of the usual ','.
>
> See http://mindprod.com/jgloss/csv.html
I would not do this, just because it would be easy for a book title to
have ":" in it.
I'd have to see the actual file format spec, but it looks like the
identifier for the record type is always two letters at the beginning of
the line. I'd key off that. Just use readLine(), and check char(0) and
char(1). Dead simple, and bomb proof. Most likely faster too.