From b7e5b66de795f3754ef63bfd47bcaa1cec72aa4a Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 07 九月 2018 11:22:03 +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