function insertBreaks(theText) {
newText = "";
for (i=0; i if (theText.charAt(i) == String.fromCharCode(13)) {
newText += "
";
} else {
newText += theText.charAt(i);
}
}
return (newText);
}
No comments:
Post a Comment