阅读(1189)
赞(3)
Laravel 8 length {#collection-method}
2021-07-05 09:43:49 更新
length
方法返回指定字符串的长度:
use Illuminate\Support\Str;
$length = Str::of('Laravel')->length();
// 7
length
方法返回指定字符串的长度:
use Illuminate\Support\Str;
$length = Str::of('Laravel')->length();
// 7
Copyright©2023 编程论坛编程论坛| 浙ICP备2024059924号-1|
违法和不良信息举报电话:|举报邮箱:569242693@qq.com