Re: Reading a file into a "sequence"
- Posted by Derek Parnell <ddparnell at bigpond.com> Nov 18, 2004
- 555 views
Unkmar wrote: > > ----- Original Message ----- > From: "Derek Parnell" <guest at RapidEuphoria.com> > To: <EUforum at topica.com> > Sent: Wednesday, November 17, 2004 9:03 PM > Subject: Re: Reading a file into a "sequence" > > > > posted by: Derek Parnell <ddparnell at bigpond.com> > > > > John F Dutcher wrote: > >> > >> I thought I'd get the find on the inappropriate reference [1..4] before > >> anyone answered...but you're too fast for me....Thanks > > > > Here is a function to convert a Comma-Separated-Value string to > > a sequence of fields. It handles escaped characters via the '\' > > character and embedded quotes can also be represented by a twin > > quotes. > > [snip] > I created a csv lib a long time back. but lets all completely forget about > that. > It is never used so why bother remembering that it even exists. Your paranoia is showing How on Earth did you read into my response that I'd said something like "Do not use unkmar's library! Use this instead!"? Or are we meant to prefix every response with "Please check the archives and user submissions before proceeding"? My routine was not meant as competition to your library or anybody else's submissions either. But now that I think about it, a little 'competition' like this is not necessarily a bad thing. You don't see me saying "Don't use those other Windows libraries, use mine!" -- Derek Parnell Melbourne, Australia