0517博客

0517博客

分享php截取字符串

<?php
$Content = "我是\0517bbs.com\'的学员<br>";
echo $Content;

echo mysubstr($Content,0,10)."<br>";
echo mysubstr($Content,0,15)."<br>";
//截取中文字符串
function mysubstr($str, $start, $len) {
...

分页:[«]1[»]

Powered By Z-Blog 1.8 Walle Build 100427

Copyright 0517.org. Some Rights Reserved.