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

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

strutil

  • 资源大小:9.27 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分: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
  • 6小时前 成为了本站会员

  • huangshu 8小时前 成为了本站会员

  • Wx 6天前 成为了本站会员

  • adalyx 6天前 成为了本站会员

  • 1周前 成为了本站会员

  • 知还 1周前 成为了本站会员

  • zcl 1周前 成为了本站会员

  • 。。 1周前 成为了本站会员

  • 青云电子 1周前 成为了本站会员

  • 泛滥咳嗽 1周前 成为了本站会员

0.215063s