If you want to put a string into a list you can use
<dtml-var "_.string.split('a|b', '|')">
to split a string up. What database are you using and what are actually
----- Original Message -----
From: "Tom Deprez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 9:15 AM
Subject: [Zope] List
> I'm storing a selection of a user to a database as string. This selection
> is a multiple selection from a select box and is outputted as a list.
> Now I want to iterate over this list (after retrieving it from the
> database), but how can I do this? How can I tell Zope that the string is
> actually a list? How can I typecast in Zope?
> Thanks, Tom.
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -