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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -