具体分析如下:
php的substr函数功能非常强大,不断可以从前往后去子字符串还可以从后往前取字符串
输出结果:
Position counted from left: begin Position counted form right: gin
上一篇:怎么在php中利用strpos查找字符串的位置
下一篇:怎么在php中使用substr_replace()函数替换字符串