× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi John,

You are correct that this was not produced by Excel. It's generated by a large national company, so I don't have control over the format.

-mark

On 12/15/2020 11:23 PM, John Yeung wrote:
On Tue, Dec 15, 2020, 10:32 PM mlazarus<mlazarus@xxxxxxxxxxxx> wrote:

Example:
"1","This is a regular title","AAA"
"2",""This is a quoted title"","BBB"

In the second record the double quote pairs seem to throw the
processor off. Has anyone run into this? Any solution?

That is not an Excel-produced CSV. I hesitate to say it's "nonstandard"
because there isn't any official standard for CSV, but it isn't surprising
that it's not processed cleanly by a CSV-handling package.

Because it doesn't adhere to... let's call it the predominant dialect of
CSV, you may need to process it yourself.

I would infer it ALWAYS surrounds char values in quotes, but then doesn't
have any other escape mechanisms. So you can account for that yourself,
building your own little miniparser with maybe %split or %scan or
something.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.