Re: [Zope] dtml syntax error with quotes
28 Mar
2000
28 Mar
'00
10:25 p.m.
julio dinis wrote:
This code results in a error:
<dtml-let MyVar="_.string.replace(Mytext,'"','"')">
Try this (untested):
<dtml-let MyVar="_.string.replace(Mytext,'\x22','"')">
\x22 = " \x27 = '
Opps. It works, but my sugestion of using _.chr(34) also works. I was looking at the wrong results when testing _.chr(). Thanks, Julio ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
9505
Age (days ago)
9505
Last active (days ago)
0 comments
1 participants
participants (1)
-
julio dinis