摘要: 1. 截取GB2312中文字符串<?php< ?php //截取中文字符串function mysubstr($str, $start, $len) { $tmpstr = ""; $strlen = $start + $len; for($i = 0; $i < $strlen; $i++) { if(ord(substr($str, $i, 1)) > 0xa0) { ... 阅读全文
posted @ 2011-01-04 14:07 FreeSpider 阅读(303) 评论(0) 推荐(0) 编辑