> if find(v,'\r') >= 0: v=join(split(v,'\r'),'') > - if find(v,'\n') >= 0: v=join(split(v,'\n'),'<br>\n') > + if find(v,'\n') >= 0: v=join(split(v,'\n'),'<br />\n') Out of curiosity, what is the reason for using join(split(...)) instead of just replace()? Is it really faster or something? --jfarr