/// <summary>
/// 分割字符串
/// </summary>
/// <param name="str">字符串</param>
/// <param name="split">分隔符</param>
/// <param name="res">子字符串集合</param>
void StringSplit(string str, const const char split, vector<string>& res)
{
istringstream iss(str); // 输入流
string token; // 接收缓冲区
while (getline(iss, token, split)) // 以split为分隔符
{
res.push_back(token);
}
}