The CsvParser State Machine I wrote should handle those just fine. It
will raise an appropriate exception to tell the user that you have a
malformed CSV structure in test cases 5, 6 and 7. But as you
mentioned, one can add a property (very easily) to allow such cases.
My code incudes unit tests, and your examples will be excellent
candidates to extend those unit tests.
I send you a copy of the code in a private email in you were interrested.
Regards,
- Graeme -
On 7/5/06, Bisma Jayadi <[EMAIL PROTECTED]> wrote:
If your method above is able to solve those problems, then I'm very interested
to know the source code because I'm still unable to solve the last three
problems. :)
-Bee-
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives