temu客户端程序

This commit is contained in:
wule committed 2025-06-29 19:38:31 +08:00
commit 4aaf264e89
694 files changed
+263780

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase
{
public static class ConvertExtension
{
/// <summary>
/// 删除特殊字符 by ttzhao 2020.6.20
/// </summary>
/// <param name="text"></param>
/// <param name="characters"></param>
/// <returns></returns>
public static string RemoveSpecialChar(this string text, params string[] characters)
{
//{ ":", ":", "/", "\\", "\"", "?", "✅", "◆", "‼️" }
string str = text;
List<string> specialCharacters = new List<string>(characters);
specialCharacters.ForEach(c =>
{
if (c.Length > 0)
str = str.Replace(c, "");
});
return str;
}
}
}