[Zope] integer to string?

Philip Aylesworth zopelist@regalint.com
Thu, 06 May 1999 14:42:24 -0400


I have two questions about strings.

How do I convert an integer to a string? I want to concatinate it with a
string as such:
<!--#var "'c' + _['sequence-item']"--> where sequence-item is an
integer.

This got me looking at the "Alternate Python String Format Syntax" (page
4, DTML user guide). It seems like it should do what I want but I can't
make it work. Where do these get put? Can they be in expr=""? or are
they loose in the HTML?

Thanks,

Phil A