|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <CSV_Utils.h>

Static Public Member Functions | |
| static void | slim (string &str) |
| Strips leading and trailing double quotes from string. More... | |
| static void | split (const string &str, char delimiter, vector< string > &tokens) |
| Splits a string into separate strings based on the delimiter. More... | |
Definition at line 46 of file CSV_Utils.h.
|
static |
Strips leading and trailing double quotes from string.
There must be a leading and trailing quote for them to be removed. If there is just one or the other, then the double quote is left.
| str | string to remove leading and trailing double quotes from |
Definition at line 87 of file CSV_Utils.cc.
Referenced by CSV_Obj::load(), and CSV_Header::populate().
|
static |
Splits a string into separate strings based on the delimiter.
| str | The string to break apart into different tokens |
| delimiters | Contains the delimiters to use to break apart the string |
| tokens | The resulting vector of tokens |
Definition at line 48 of file CSV_Utils.cc.
References BESUtil::explode().
Referenced by CSV_Reader::get().
