阅读(3369)
赞(4)
Laravel 8 ascii {#collection-method}
2021-07-03 16:54:24 更新
ascii
方法尝试将字符串转换为 ASCII 值:
use Illuminate\Support\Str;
$string = Str::of('ü')->ascii();
// 'u'
ascii
方法尝试将字符串转换为 ASCII 值:
use Illuminate\Support\Str;
$string = Str::of('ü')->ascii();
// 'u'
Copyright©2023 编程论坛编程论坛| 浙ICP备2024059924号-1|
违法和不良信息举报电话:|举报邮箱:569242693@qq.com