摘要: 1. substr()2. replace()例子:split()字符串切割: substr函数原型:string substr ( size_t pos = 0, size_t n = npos ) const;解释:抽取字符串中从pos(默认为0)开始,长度为npos的子字串#include #... 阅读全文
posted @ 2014-08-07 00:13 jihite 阅读(971) 评论(0) 推荐(0) 编辑