[Zope-dev] cvs checkin?

Jonothan Farr jfarr@real.com
Mon, 16 Apr 2001 12:44:50 -0700


>      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