我无法说服为什么我不能在记事本中用冷熔断线。
这是我的编码
<cfscript>
msg = "ppshein<CR>Coldfusion Developer<CR>Currently working in Singapore";
currentPath = getCurrentTemplatePath();
currentDirectory = getDirectoryFromPath(currentPath);
chgMsg = ReReplace(msg, "<CR>", "<CR>\r\n", "ALL");
FileWrite("#currentDirectory#\myfile.txt", "#chgMsg#");
return "successfully generated";
</cfscript>
我在编码上面运行并打开myfile.txt,它发生了
ppshein<CR>Coldfusion Developer<CR>Currently working in Singapore
我想要的是
ppshein<CR>
Coldfusion Developer<CR>
Currently working in Singapore
任何意见将不胜感激。