OEStringCSVTokenizeΒΆ

bool OEStringCSVTokenize(std::vector<std::string> &tokens,
                         const std::string &text,
                         char delim=',',
                         char quote='"')

Parse the text string into a number of tokens delimited according to the rules of the comma-separated-value, CSV, format specified by RFC 4180. The delimiter and quoting character can be changed to alternative characters, e.g., a tab delimiter for tab separated files.