space in variable returned by queries
13 Jul
2000
13 Jul
'00
2:48 p.m.
Hello, I'm working with Zope and PostgreSQL When i do a query, Zope returns me a variable with a space at the end Do you know how i can do not to have this space at the end? Thanks
13 Jul
13 Jul
3:11 p.m.
New subject: [Zope] space in variable returned by queries
Vanfleteren Francois wrote:
Hello, I'm working with Zope and PostgreSQL When i do a query, Zope returns me a variable with a space at the end Do you know how i can do not to have this space at the end?
<dtml-var "_.strip(var_with_space_at_the_end)"> should do. Or <dtml-call "REQUEST.set('var_without_space_at_the_end',_.strip(var_with_space))"> HTH Tino Wildenhain
9399
Age (days ago)
9399
Last active (days ago)
1 comments
2 participants
participants (2)
-
Tino Wildenhain -
Vanfleteren Francois