[Zope] Concatenation

Hannu Krosing hannu@tm.ee
Sun, 11 Nov 2001 02:44:38 +0500


Ben Ocean wrote:
> 
> Hi;
> I'm trying to concatenate a <dtml-var> with a string. I have this poor attempt:
>    <dtml-var expr="_.string(title_or_id.'_frame')(_,_.None)">
> where *title_or_id* is (of course) the <dtml-var> and *_frame* is the
> string. How should I do this?

you could try

<dtml-var title_or_id>_frame

or

<dtml-var "_.string(title_or_id)+'_frame'">

-------------
Hannu