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