| 48 | constexpr unsigned STAT_MAX_STRING_SIZE = 1u << 28; |
| 49 | |
| 50 | QStringList parseCSVLine(const QString &srcLine, char delimiter) |
| 51 | { |
| 52 | // first, trim newline and white spaces from both ends of line |
| 53 | QString line = srcLine.trimmed().remove(' '); |
| 54 | // now split string with delimiter |
| 55 | return line.split(delimiter); |
| 56 | } |
| 57 | |
| 58 | } // namespace |
| 59 |
no test coverage detected