| 143 | /***********************************************************************************/ |
| 144 | |
| 145 | std::vector<std::string> SplitStringByDelimiter( |
| 146 | const std::string& rString, |
| 147 | const char Delimiter |
| 148 | ) |
| 149 | { |
| 150 | std::istringstream ss(rString); |
| 151 | std::string token; |
| 152 | |
| 153 | std::vector<std::string> splitted_string; |
| 154 | while(std::getline(ss, token, Delimiter)) { |
| 155 | splitted_string.push_back(token); |
| 156 | } |
| 157 | |
| 158 | return splitted_string; |
| 159 | } |
| 160 | |
| 161 | /***********************************************************************************/ |
| 162 | /***********************************************************************************/ |