In a certain sense, I have a hard time believing I've never run into this before, and I also have a hard time believing that I even have to ask about it. But I've spent about 2 hours experimenting so far with no good results. So, to start, assume that I am reading data from a file whose lines take the following form:
What I want to do is quite trivial, at least in principle: Get the value of "Quoted Field 2".
I have done much experimentation without being able to use (at least reliably) the double-quote character as a field separator.
And if it's relevant, since there may be "unsafe" characters in the input data I'd like to use the "Safe" routines. But I will note that I haven't been able to get this to work consistently even if the "Safe" functions are not being used.
Code:
Description for quoted field 1: "Quoted Field 1" Description for quoted field 2: "Quoted Field 2" ...
I have done much experimentation without being able to use (at least reliably) the double-quote character as a field separator.
And if it's relevant, since there may be "unsafe" characters in the input data I'd like to use the "Safe" routines. But I will note that I haven't been able to get this to work consistently even if the "Safe" functions are not being used.