On Fri, Jun 17, 2011 at 2:37 AM, Henning Thielemann <lemming@henning-thielemann.de> wrote:
I have updated
 http://www.haskell.org/haskellwiki/Spreadsheet


=== I am trying Data.Spreadseet.fromStringSimple , which is:

fromString :: Char -> Char -> String -> Exceptional UserMessage TSource

fromString qm sep text parses text into a spreadsheet, using the quotation character qm and the separator character sep.

fromStringSimple :: Char -> Char -> String -> T

=== Here is my test where quotation mark is a quote (") and separator is a comma (,):

t1 = fromStringSimple '"' ',' tMsg

tMsg = "REP-RPB1.domain1.systemhost.net,Microsoft.Windows.Computer:REP-RPB1.domain1.systemhost.net,- System Uptime > 30 Days,UIGeneratedMonitor3a4ca3359ec34015bee55fd7942836d8,2,Custom,10/17/2009 8:48:38 AM"

=== As a result I get:
[["*** Exception: dequoteSimple: string does not end with a quotation mark

=== Question:
In this particular line I have no quotation mark, but in other lines I may have quoted text fields, separated by commas (,) and also with commas *iside* quoted fields .  What parameters should I pass to 'fromStringSimple' so it worked in both cases: 1) for lines with quotation marks and 2) for lines without quotation marks?

Thanks!