/// <summary>
/// 替换文本中的空格和换行
/// </summary>
public static string ReplaceSpace(string str)
{
string s = str;
s = s.Replace(" ", " ");
s = s.Replace("/n", "<BR />");
return s;
}/// <summary>
/// 替换文本中的空格和换行
/// </summary>
public static string ReplaceSpace(string str)
{
string s = str;
s = s.Replace(" ", " ");
s = s.Replace("/n", "<BR />");
return s;
}
替换文本中的空格和换行
最新推荐文章于 2024-02-12 18:10:33 发布