OEStringCollapseQuotesΒΆ

std::string OEStringCollapseQuotes(const std::string &str,
                                   const std::string &quotes = "\"")

Replaces all the instance of two consecutive quotes in str with a single instance of that quote. The default is a double-quote, the standard for comma-separated-value, CSV, files. This is a low-level CSV function, most users can just use OEStringCSVJoin and OEStringCSVTokenize.