NormalizeCRs
Back to ListDescription: Replace CRLF and LF to CR in a string (Value list)
FileMaker Prototype:
Set Variable [$res; ACF_Run("NormalizeCRs"; string_txt)]
Category: UTILITY
Function source:
function NormalizeCRs ( string txt )
txt = substitute ( txt, "\r\n", "\r"); // CRLF til CR
txt = substitute ( txt, "\n", "\r"); // LF to CR
return txt;
end