text files with quotes

Mark Paris mark at bcesouth.com
Wed May 15 13:58:01 EDT 2002


Anyone have a good method of parsing a text file that is delimmited by
commas, yet has quotes (") surrounding SOME of the records, which in turn
may have commas inside of them (such as a notes field)?  (!)

The only routine I made for this was long and ugly, taking a second per
record.  I first replaced commas inside of quotes with a blank space, then
got rid of the quotes, then parsed by comma.

Is there a routine I might be missing?  Thanks!

Mark





More information about the use-livecode mailing list