阅读(173)
赞(9)
Laravel 8 Str::title()
2021-07-03 16:54:23 更新
Str::title
方法是把指定的字符串,每个单词首字母大写,例如:
use Illuminate\Support\Str;
$converted = Str::title('a nice title uses the correct case');
// A Nice Title Uses The Correct Case
Str::title
方法是把指定的字符串,每个单词首字母大写,例如:
use Illuminate\Support\Str;
$converted = Str::title('a nice title uses the correct case');
// A Nice Title Uses The Correct Case
Copyright©2023 编程论坛编程论坛| 浙ICP备2024059924号-1|
违法和不良信息举报电话:|举报邮箱:569242693@qq.com