All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
MS SQL Server和Access分别取得随机记录(随机抽题)之完美篇_[SQL Server教程]
ASP.NET中根据XML动态创建使用WEB组件_[Asp.Net教程]
.NET生成静态页面并分页_[Asp.Net教程]
.NET中加密与解密QueryString的方法_[Asp.Net教程]
ASP.NET,2.0,里输出文本格式流_.net资料_编程技术
asp.net,页面事件:顺序与回传_[Asp.Net教程]
SQL Server 索引基础知识(2)----聚集索引,非聚集索引_[SQL Server教程]
如何让apache支持url_rewrite_php资料_编程技术
char、varchar、text和nchar、nvarchar、ntext的区别_[SQL Server教程]
ASP.NET技巧:URL编码处理_[Asp.Net教程]
Reading number is top 10 pictures
Sell the barbecue as says father du breul5
A man's favorite things11
The money of more than 100 countries and regions12
Terrorist smile the largest human history an explosion2
The real super beauty4
美丽的少女1
上传几张色图
Average female college students3
The world's ten biggest attractions of inventory super the moon
每天进步一点点
Download software ranking
Ashlynn Video2
Unix video tutorial12
小黑猫大战两米大花蛇
jdk1.5
电车之狼R
双旗镇刀客A
圣殿祭司的ASP.NET.2.0.开发详解-使用C#
Sora aoi, the maid, students' uniforms
虚拟机汉化软件
打鸟视频
aaa published in(发表于) 2013/12/27 19:52:59 Edit(编辑)
PHP截取UTF-8字符串,解决半字符问题_php资料_编程技术

PHP截取UTF-8字符串,解决半字符问题_php资料_编程技术

PHP截取UTF-8字符串,解决半字符问题_php资料_编程技术-你的首页-uuhomepage.com
function utf_substr($str,$len)
{
for($i=0;$i<$len;$i++)
{
$temp_str=substr($str,0,1);
if(ord($temp_str) > 127){
$i++;
if($i<$len) {
$new_str[]=substr($str,0,3);
$str=substr($str,3);
}
}
else {
$new_str[]=substr($str,0,1);
$str=substr($str,1);
}
}
return join($new_str);
}





添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.