# OEStringCSVJoin¶

std::string OEStringCSVJoin(const std::vector<std::string> &fields,
char delim=',',
char quote='"')


Returns a string containing all the values of fields in the comma-separated-value, CSV, format specified by RFC 4180. The fields will only be quoted and escaped if necessary to avoid excess file size. The delimiter and quoting character can be changed to alternative characters, e.g., a tab delimiter for tab separated files.