Attention
This functionality is only available in the C++ toolkits. For other languages, we recommend using language-specific functionality instead.
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.