阅读(162)
赞(1)
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 字节宝字节宝| |
违法和不良信息举报电话:|举报邮箱:3111859717@qq.com
