C++字符串操作:分割、合并、转数字 1.字符串分割 按输入字符规则进行分割,以单个字符为规则对字符串进行分割 //字符串分割 std::vector<std::string> str_split(const std::string& str, const char split