CSV quotes and DATA

BlitzPlus Forums/BlitzPlus Beginners Area/CSV quotes and DATA

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Assuming there are no stray spaces...
newLine$ = chr$(34) + Replace(oldLine$, ",", chr$(34) + ", " + chr$(34)) + chr$(34)
newLine$ = "Data " + Replace(newLine$, chr$(34) + chr$(34), chr$(34))
??