65 |
|
|
66 |
static std::vector<String> __parse_strings(String val) throw (Exception) { |
static std::vector<String> __parse_strings(String val) throw (Exception) { |
67 |
std::vector<String> vS; |
std::vector<String> vS; |
68 |
|
|
69 |
|
// checking for empty list |
70 |
|
if (val.length() == 0) return vS; |
71 |
|
|
72 |
// if there's only a single value, then we also allow to give it without being encapsulated into apostrophes |
// if there's only a single value, then we also allow to give it without being encapsulated into apostrophes |
73 |
if (val.find("\'") == String::npos && val.find("\"") == String::npos) { |
if (val.find("\'") == String::npos && val.find("\"") == String::npos) { |