[REBOL] Re: Parsing query. Even Better example.
From: rebol:laurent-chevalier at: 28-Feb-2003 12:57
Here is a solution in one long line :>> n: copy [] first: n parse str [ any [ "=> " copy data to "," (appendn data) | "Section" thru newline copy data to "," (append/only first compose[(data)] n: last first) | skip ] ] first == [["abc1" "abc2" "abc3" "abcr"] ["abchk" "bdc6" "ghj"]] Laurent Terry Brownell wrote: