Attention

This functionality is only available in the C++ toolkits. For other languages, we recommend using language-specific functionality instead.

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.