Author: Real Gagnon
Author's WebSite: http://tactika.com/realhome/realhome.html
function removeNL(s) {
/*
** Remove NewLine, CarriageReturn and Tab characters from a String
** s string to be processed
** returns new string
*/
r = "";
for (i=0; i < s.length; i++) {
if (s.charAt(i) != '\n' &&
s.charAt(i) != '\r' &&
s.charAt(i) != '\t') {
r += s.charAt(i);
}
}
return r;
}
Posted On: 10-Jul-1999