xml格式输出时回车符替换

public static string Replace(string str)
    {
        return str.Replace("\n", "").Replace(" ", "").Replace("\r", "");
    }
posted @ 2009-07-14 14:29  94cool  阅读(1204)  评论(0)    收藏  举报