阅读(1382)
赞(7)
Laravel 8 Str::isAscii() {#collection-method}
2021-07-03 16:54:17 更新
Str::isAscii
方法用于判断字符串是否是 7 位 ASCII:
use IlluminateSupportStr;
$isAscii = Str::isAscii('Taylor');
// true
$isAscii = Str::isAscii('ü');
// false
Str::isAscii
方法用于判断字符串是否是 7 位 ASCII:
use IlluminateSupportStr;
$isAscii = Str::isAscii('Taylor');
// true
$isAscii = Str::isAscii('ü');
// false
Copyright©2023 字节宝| |
违法和不良信息举报电话:|举报邮箱:2283035678@qq.com