阅读(2300)
赞(10)
Laravel 8 Str::substr()
2021-07-03 16:54:23 更新
Str::substr
方法与 php 自带的字符串 stustr
截取函数相同,例如:
use Illuminate\Support\Str;
$converted = Str::substr('The Laravel Framework', 4, 7);
// Laravel
Str::substr
方法与 php 自带的字符串 stustr
截取函数相同,例如:
use Illuminate\Support\Str;
$converted = Str::substr('The Laravel Framework', 4, 7);
// Laravel
Copyright©2023 编程论坛编程论坛| 浙ICP备2024059924号-1|
违法和不良信息举报电话:|举报邮箱:569242693@qq.com