- 博客(3)
- 资源 (6)
- 收藏
- 关注
原创 php 将中文字符串转成汉语拼音
功能:将中文字符串转换成汉语拼音,支持简体、繁体、中英混合,首字母大写 类库:Pinyin.class.php 用法: $str = '我爱中国'; $pinyin = new Pinyin(); echo $pinyin->get($str); 结果为:Wo Ai Zhong Guo 希望对大家有帮助 类库地址:
2016-08-12 18:04:06 2122
原创 php 将中文字符串截取为数组
功能:把中文字符串截取为数组 header("Content-type: text/html; charset=utf-8"); $str = '中国富强'; preg_match_all('/./u', $str, $strs); var_dump(current($strs)); 结果为: array(4) { [0]=> string(3) "中" [1]=> st
2016-08-12 17:55:48 854
原创 文章标题
分类: LINUX /* * UARTOperate.c * * Created on: 2010-10-20 * Author: vv */include include include include include include include include include include defin
2015-04-24 17:49:51 209
U Chroma key插件
2017-08-01
php中文转拼音类
2016-08-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人