thx libraries
You can run your thx code snippets with try.thx-lib.org

thx.csv

Gitter

Build Status

CSV decoder (parser) and encoder (writer)

usage

var s = 'Year,Make,Model,Description,Price
1997,Ford,E350,"ac, abs, moon",3000.00
1999,Chevy,"Venture ""Extended Edition""","",4900.00
1999,Chevy,"Venture ""Extended Edition, Very Large""",,5000.00
1996,Jeep,Grand Cherokee,"MUST SELL!
air, moon roof, loaded",4799.00';

var decoded = Csv.decode(s),
    encoded = Csv.encode(decoded);
trace(decoded); // Array<Array<String>>
trace(encoded);

live sample

install

haxelib install thx.csv