19 Apr
2001
19 Apr
'01
1:25 p.m.
Stefan Mallepell wrote:
My code is: <dtml-let transtab="_.string.maketrans('><','**')"> <dtml-call "REQUEST.set('Message',_.string.translate(Message,transtab,'><'))"> </dtml-let>
The documentation for translate explains that the third argument, '><' in your case, is used to specify characters do be removed before the translation occurs. If you do like this...
"REQUEST.set('Message',_.string.translate(Message,transtab))">
...it should work. Regards, Luciano