首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > strutil

strutil

  • 资源大小:9.27 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: string CPlusPlus utility

资 源 简 介

Improves C++ string support with minimal UTF-8 and string handling functions. The library is single cpp file and as easy as possible to integrate. Supports any STL-compatible string/vector types, and allows configuration of any used type. The library ships with comprehensive unit/regression test suite. Examples: ``` trim(" a bc ") == "a bc" rtrim(" a bc ") == " a bc" ssprintf("123=%d",123) == "123=123" uppercase("AbCd") == "ABCD" lowercase("AbCd") == "abcd" vector e = explode( ",", "jani,markus,kajala" ) e.size() == 3 e[0] == "jani" e[1] == "markus" e[2] == "kajala" implode(",",e) == "jani,markus,kajala" substr("abcd",1,2) == "bc" substr("abcd",1,3) == "bcd" substr("abcd",0,4) == "abcd" substr("abcd",-1

文 件 列 表

data.txt
example
example.sln
example.vcxproj
example.cpp
license.txt
readme.txt
strutil.cpp
strutil.h

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP