阅读(1195)
赞(7)
Laravel 8 length {#collection-method}
2021-07-05 09:43:49 更新
length
方法返回指定字符串的长度:
use IlluminateSupportStr;
$length = Str::of('Laravel')->length();
// 7
length
方法返回指定字符串的长度:
use IlluminateSupportStr;
$length = Str::of('Laravel')->length();
// 7
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com