摘要: 代码/// <summary> /// 替换全角字符为半角 /// </summary> /// <returns></returns> public static string ReplaceSBC2DBC(string input) { // 全角正则 string pattern = @"[\uFF00-\uFFFF]"; string result = Regex.Replace(input, pattern, new MatchEvaluator(delegate(Match match) { return ToDB 阅读全文
posted @ 2011-07-04 17:59 恋9527 阅读(535) 评论(0) 推荐(0) 编辑