- 博客(1)
- 收藏
- 关注
原创 【util】替换string中所有目标子串
//将content中所有old_str替换为new_str的内容 void replaceAll(string& content, const string& old_str, const string& new_str) { string::size_type pos = content.find(old_str), old_size = old_str.size(), new_
2015-11-30 21:20:37 527
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人