0 php text substr
我的12345678910解决方案中有一个文本行,我想8910使用substr()我尝试的函数进入一行:
12345678910
8910
substr()
$text = "12345678910"; $pay = substr($text,0,7); echo $pay;
但我得到了1234567预期,8910 谢谢
1234567
Daa*_*aan 5
使用-4作为第二个参数.
echo substr("1234567890", -4);
归档时间:
8 年,3 月 前
查看次数:
46 次
最近记录: