Without further ado, please see the code
/// <summary> /// Delete Chinese in the string/// </summary> public static string DeleteChinese(string str) { string retValue = str; if ((str, @"[\u4e00-\u9fa5]")) { retValue = ; var strsStrings = (); for (int index = 0; index < ; index++) { if (strsStrings[index] >= 0x4e00 && strsStrings[index] <= 0x9fa5) { continue; } retValue += strsStrings[index]; } } return retValue; }
The above is all the content of this article. I hope that the content of this article will help you study or work. I also hope to support me more!