摘要: 方法一在unicode 字符串中,中文的范围是在4E00..9FFF:CJK Unified Ideographs。通过对字符的unicode编码进行判断来确定字符是否为中文。C判断是否为汉字 - 大灰狼 - 狼窝日记protected bool IsChineseLetter(string input,int index){ const int chfrom = Convert.ToInt32("4e00", 16); //范围(0x4e00~0x9fff)转换成int(chfrom~chend) const int chend = Convert.ToInt32(&qu 阅读全文
posted @ 2013-01-21 22:23 金虹巴巴 阅读(518) 评论(0) 推荐(0) 编辑