天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
458 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Common.TextUtil
{
public static class TextCheck
{
/// <summary>
/// 文本过滤
/// </summary>
/// <param name="souce">原文本</param>
/// <returns></returns>
public static string TextFilter(string souce)
{
return souce.Replace("'", "’").Replace("%", "%");
}
}
}