Is it possible to replace more than 1 type of character in a string simultaneously? If so, what is the correct syntax for this? I am currently using the following:
<dtml-var "_.string.replace(testString, _.chr(10), '<br />')"> For this string, I want to replace both newlines and carriage returns (_.chr(13)) with the break tag. Any help would be appreciated. Thanks. - Asad _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )