[Zope] Stripping Quotes

Jaroslav Lukesh lukesh at seznam.cz
Wed Aug 29 18:16:12 EDT 2007


<dtml-var "_.str('string\"with\'quotes').replace('\"','').replace('\'','')">


----- Original Message ----- 
From: "Tom Von Lahndorff" <tom at modscape.com>


> 
> Whats the best way to strip (double and/or single) quotes from a  
> string in python and/or dtml? Thanks.



More information about the Zope mailing list