51bool getAfterKeyword(
const std::string &line,
const std::string &key,
char del, std::string &result)
55 std::size_t pos = line.find(key);
56 if (pos == std::string::npos) {
60 std::string::const_iterator it = line.begin();
62 advance(it, key.size());
64 while ((*it) != del) {
67 std::size_t c1= it- line.begin() + 1;
71 while ((*it) != del) {
74 std::size_t c2 = it - line.begin() - 1;
78 result = line.substr(c1, pos);