header('Content-Type:text/html;charset=utf-8');$str="百度知道提了截取中文字符串的问题";$t1 = mb_strpos($str,'提');$t2 = mb_strpos($str,'串');echo $s = mb_substr($str,$t1,$t2-$t1);