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