阅读(3563)
赞(5)
Laravel 8 upper {#collection-method}
2021-07-05 09:43:55 更新
upper
方法将字符串转换为大写:
use IlluminateSupportStr;
$adjusted = Str::of('laravel')->upper();
// LARAVEL
upper
方法将字符串转换为大写:
use IlluminateSupportStr;
$adjusted = Str::of('laravel')->upper();
// LARAVEL
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com