摘要:
代码/// <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 阅读全文