16 Apr
2001
16 Apr
'01
7:56 p.m.
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?
I doubt it - that part of the codebase is quite old, and I suspect that replace didn't yet exist when it was written. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com