/// <summary>
/// 替换文本中的空格和换行
/// </summary>
public static string ReplaceSpace(string str)
{
string s = str;
s = s.Replace(" ", " ");
s = s.Replace("\n", "<BR />");
return s;
}
替换文本中的空格和换行
最新推荐文章于 2025-04-30 14:59:04 发布