19. Januar 2015 15:19
13. Februar 2015 10:49
static void test(Args _args)
{
str src = 'Hallo\r\n\n"Welt" wie\tgehts, gut?';
str dest;
str 1 replwith = '.'; // or use space
;
dest = strReplace( src,'\r\n',replwith);
dest = strReplace(dest,'\n\r',replwith);
dest = strReplace(dest,'\n' ,replwith);
dest = strReplace(dest,'\r', replwith);
dest = strReplace(dest,'\t', replwith);
dest = strReplace(dest,',' , replwith);
dest = strReplace(dest,'"' , replwith);
dest = strLFix(dest, 80, ' ');
info(dest);
}