Str::ascii 方法尝试将字符串转换为 ASCII 值:
Str::ascii
use Illuminate\Support\Str; $slice = Str::ascii('û'); // 'u'
关闭