[Zope] List
Andy McKay
andym@ActiveState.com
Tue, 3 Oct 2000 09:42:17 -0700
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
getting back?
----- Original Message -----
From: "Tom Deprez" <tom.deprez@uz.kuleuven.ac.be>
To: <zope@zope.org>
Sent: Tuesday, October 03, 2000 9:15 AM
Subject: [Zope] List
> Hi,
>
> 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 - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>