怀疑 - \\\\ n请求帮助 [英] doubt - \r\n please help

查看:74
本文介绍了怀疑 - \\\\ n请求帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

//此文件已由PTranslator V3.0.0.101(DEBUG)自动生成\\\\\\ n注意:您应该只在引号之间翻译文本(例如\这个example \)\\\ // \t并注意任何角色...



i想要删除\\\\ n因为它在CString mfc中重复两次,而不是第一次它应该看起来像



//这个文件是由PTranslator V3.0.0.101(DEBUG)自动生成的\\\\ //注意:您应该仅在引号之间翻译文本(例如\this example \)// \t并注意任何字符...



任何suugestions请

//This file has been automatically generated by PTranslator V3.0.0.101 (DEBUG)\r\n\r\n// NOTE: You should translate only text between quotes (like \"this example\")\r\n//\t and pay attention to any character...

i want to remove \r\n beacuse its repeating tow times in CString mfc ,not first one it should look like

//This file has been automatically generated by PTranslator V3.0.0.101 (DEBUG)\r\n// NOTE: You should translate only text between quotes (like \"this example\")//\t and pay attention to any character...

any suugestions please

推荐答案

你可以使用更换funktion 替换为空字符串。



You can use the Replace funktion to replace with an empty string.

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


IT将替换所有我想要的第一个chaarcter从第二个开始呈现它应该被重新提供
IT will replace all i want first chaarcter to be presented from second onwards it should be reomved


这篇关于怀疑 - \\\\ n请求帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆