[Zope] space in variable returned by queries

Tino Wildenhain tino@wildenhain.de
Thu, 13 Jul 2000 17:11:29 +0200


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