[Zope] concatenate string and number

Dragos Chirila d.chirila at bucarest.finsiel.ro
Wed Oct 15 10:10:35 EDT 2003


Hi

Here is an example:

<dtml-var "id + _.str(_['sequence-number'])">

dragos

----- Original Message -----
From: "Kariina Neimane" <porky at one.lv>
To: <zope at zope.org>
Sent: Wednesday, October 15, 2003 4:03 PM
Subject: [Zope] concatenate string and number


> Please, help me!
>
> How can I concatenate string and number in Zope in DTML method?
> For example, 'id' and sequence-number when 'id' is string.
> I have tried to use + and &, but it doesn't work.
>
> Does anyone have advice for me?
>
> porky
>
> --------------------------------------------------------------------------
-----
> http://www.one.lv - Tavs mobilais e-pasts!
>
> Tagad lasi savu e-pastu ar mobilo telefonu - wap.one.lv!
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>





More information about the Zope mailing list