if (!string.IsNullOrEmpty(testzifuchuan))
{
if ((int)testzifuchuan[0] > 127)
{
Console.Write("中文");
}
}
C# 判断字符串是否为中文
最新推荐文章于 2024-02-03 15:54:53 发布