I seem to continue to use CSV files in just about all the
REBOL programming I've done so far.
I have a handy little code snippet that will do the parse
correctly.
this is a better solution than the kludge I used before.


>
spread: read/lines %file.csv
linetoblock: func [
        arg1 blk1
        /local line
        ] [
            foreach line arg1 [ either  "," = back tail line  [ append
blk1 parse/all line ","    append blk1 " "  ]
            [ append blk1 parse/all line "," ]
          ]
        ]
>
this one works.
Bill.

Reply via email to