阅读背景:

如何通过start-index和end-index提取子字符串?

来源:互联网 
$str = 'HelloWorld';
$sub = substr($str, 3, 5);
echo $sub; // prints "loWor"
$str = 'HelloWorld';
$sub = substr($str, 3, 5);



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: