Easter79 Easter79
3年前
string字符串转数组
string字符串转数组publicclassArr{publicstaticvoidmain(Stringargs){//字符数组转换成stringchardata{'a','b','c'};
Wesley13 Wesley13
3年前
SQL生成随机字符串
创建存储过程可以解决此问题!(https://oscimg.oschina.net/oscnet/b1ca72049dc1b917a369b13eea29abf0a41.jpg)!(https://oscimg.oschina.net/oscnet/4f544cf86334f4f583c5e5e1a8e40eda818.jpg)1
Wesley13 Wesley13
3年前
PHP FFI详解——一种全新的PHP扩展方法
!(https://www.sixstaredu.com/files/default/2020/0330/1659528b8fa2524354.jpg)随着PHP7.4而来的有一个我认为非常有用的一个扩展:PHPFFI(ForeignFunctioninterface),引用一段PHPFFIRFC中的一段描述:对于PHP,FFI提
Stella981 Stella981
3年前
2019 HDOJ Multi
服务器时不时爆炸,有点难受。题目链接:http://acm.hdu.edu.cn/userloginex.php?cid849(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Facm.hdu.edu.cn%2Fuserloginex.php%3Fcid%3D849)
Wesley13 Wesley13
3年前
Monolog 优化及打造 ELK 友好的日志格式
Monolog(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2FSeldaek%2Fmonolog)是目前最流行的php日志库,许多流行的php框架都用Monolog作为默认的日志库,例如symfony、laravel。默认情况下,symfony、lara
Stella981 Stella981
3年前
IOS compare 字符串比较
NSString比较字符串,我介绍一些常用的方法:NSString\value@"1234567890";比较的方法:\value compare:(NSString\)\;\value compare:(NSString\) options:(NSStringCompareOptions)\;\va
Wesley13 Wesley13
3年前
MYSQL分割字符串列转行
准备示例数据createtabletbl_name(IDint,mSizevarchar(100));insertintotbl_namevalues(1,'tiny,small,big');insertintotbl_namevalues(2,'small,medium');in
Wesley13 Wesley13
3年前
Java字符串处理技巧
1\.鲜为人知的replaceAll技巧System.out.println("foo0".replaceAll("\\(\\d)\\", ".$1"));//输出: foo.02\.构建一个重复的字符串System.out.println(new String(new char3).r
可莉 可莉
3年前
2019 HDOJ Multi
服务器时不时爆炸,有点难受。题目链接:http://acm.hdu.edu.cn/userloginex.php?cid849(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Facm.hdu.edu.cn%2Fuserloginex.php%3Fcid%3D849)
Stella981 Stella981
3年前
Python字符串常用方法
方法描述string.capitalize()把字符串的第一个字符大写string.center(width)(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.ziqiangxuetang.com%2Fpython%2Fattstringcent