string get_string(string res){
//刪除換行符
int r = res.find('\r\n');
while (r != string::npos)
{
if (r != string::npos)
{
res.replace(r, 1, "");
r = res.find('\r\n');
}
}
//刪除所有空格
res.erase(std::remove_if(res.begin(), res.end(), std::isspace), res.end());
return res;
}