PHP
·
发表于 5年以前
·
阅读量:7434
以下实例从字符串第 2 个字符开始截取 4 个字符:
string="runoob is a great site"
echo ${string:1:4} # 输出 unoo