upper 方法将字符串转换为大写:
upper
use Illuminate\Support\Str; $adjusted = Str::of('laravel')->upper(); // LARAVEL
关闭