阅读(181)
赞(6)
Laravel 8 Str::title()
2021-07-03 16:54:23 更新
Str::title
方法是把指定的字符串,每个单词首字母大写,例如:
use IlluminateSupportStr;
$converted = Str::title('a nice title uses the correct case');
// A Nice Title Uses The Correct Case
Str::title
方法是把指定的字符串,每个单词首字母大写,例如:
use IlluminateSupportStr;
$converted = Str::title('a nice title uses the correct case');
// A Nice Title Uses The Correct Case
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com