开发者

Replace \r\n to " "

开发者 https://www.devze.com 2023-02-07 12:38 出处:网络
I want to replace \\r\\n in my string with blank s开发者_高级运维pace. It\'s a Windows mobile application Compact Framework.Try this:

I want to replace \r\n in my string with blank s开发者_高级运维pace. It's a Windows mobile application Compact Framework.


Try this:

myString = myString.Replace("\r\n"," ");
0

精彩评论

暂无评论...
验证码 换一张
取 消