摘要: //判断输入是否包含中文 不管你有没有输入英文,只要包含中文,就返回 true public static bool HasChinese(string content) { //判断是不是中文 string regexstr = @"[\u4e00-\u9fa5]"; if (Regex.IsMatch(content, rege... 阅读全文
posted @ 2014-08-05 13:27 梨花驿路 阅读(4609) 评论(0) 推荐(0) 编辑