Я не могу убедить, почему я не могу разбить строку в блокноте с помощью Coldfusion.
Вот мое кодирование
<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
Любые комментарии будут оценены.