[Zope] Underscore Caracter

Dennis Nichols nichols@tradingconnections.com
Tue, 05 Sep 2000 21:56:54 -0500


At 9/5/00 09:54 PM, Chris McDonough wrote:
>It should be noted that _.string.replace() is not mentioned in the DTML
>reference guide.  If it exists, it should be used.  Sigh.  I can't wait
>for the Zope Book to come out, I'm going to be the first buyer.  ;-)

Not that I would expect it to exist, but according to "Python Essential 
Reference" p. 117, it is indeed present in the string module:

     replace( str, old, new [,max] )



--
Dennis Nichols
nichols@tradingconnections.com