From fe1da27fb2943fab5f9010899de8f6c7268fd170 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期五, 07 九月 2018 16:02:59 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Utility/UIHelper.cs | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Utility/UIHelper.cs b/Utility/UIHelper.cs
index 00c7a5e..5791fd1 100644
--- a/Utility/UIHelper.cs
+++ b/Utility/UIHelper.cs
@@ -764,4 +764,13 @@
}
return "D";
}
+
+ public static string TrimContentToServer(string content)
+ {
+ content = WordAnalysis.Color_Start_Regex.Replace(content, string.Empty);
+ content = WordAnalysis.Color_End_Regex.Replace(content, string.Empty);
+ content = content.Replace("=", string.Empty);
+ content = content.Replace(" ", string.Empty);
+ return content;
+ }
}
--
Gitblit v1.8.0