rebol - How to "unmold" a string? -
i'm using this library convert block csv. however, when encounters string comma in it molds string. not problem except curly-braces seem confuse excel.
so, {this, test} gets turned | {this | test} | (each side of comma put separate cells).
at first thought needed escape comma turns out need turn curly braces quotes. there quick or rebol-recommended way this?
the purpose of 'mold in %csv.r wrap values containing commas double quotes.
but unfortunately 'mold puts strings longer 50 characters curly braces instead of double quotes, better readability.
i don't know how affect behaviour, replace 'mold in item: mold item , heading: mold heading 'dbl-quote, defined as
dbl-quote: func[s][rejoin [{"} s {"}]]
Comments
Post a Comment