用STL進行字符串的分割與合併

涉及到string類的兩個函數find和substr:ios 一、find函數         原型:       size_t find ( const string& str, size_t pos = 0 ) const;         功能:       查找子字符串第一次出現的位置。         參數說明:str爲子字符串,pos爲初始查找位置。         返回值:    找
相關文章
相關標籤/搜索