4 Sep
2007
4 Sep
'07
3:28 p.m.
doesn't work. the double quotes are not escaped and zope sees them as the end of the expression.
From: "Jaroslav Lukesh" <lukesh@seznam.cz> Date: August 29, 2007 6:16:12 PM EDT To: "Zope user list" <zope@zope.org>, "Tom Von Lahndorff" <tom@modscape.com> Subject: Re: [Zope] Stripping Quotes
<dtml-var "_.str('string\"with\'quotes').replace('\"','').replace ('\'','')">
----- Original Message ----- From: "Tom Von Lahndorff" <tom@modscape.com>
Whats the best way to strip (double and/or single) quotes from a string in python and/or dtml? Thanks.