std::string的工具函數

  通常來講,在處理字符串的時候一般會用到以下一些函數/方法:length、substring、find、charAt、toLowerCase、toUpperCase、trim、equalsIgnoreCase、startsWith、endsWith、parseInt、toString、split等。   若是使用STL中的std::string,它已經提供了以下一些比較有用的方法:算法 leng
相關文章
相關標籤/搜索