[Zope] stripping [] from a var

Anders Gaarsdal Holst anders@colorweb.dk
Wed, 01 Dec 1999 19:05:27 +0100


Hello!

I have a form with a number of checkboxes (with the same name
attribute). When the form is submitted I get a var in the form of:

var = [checkboxvalue1, checkboxvalue2, checkboxvalue3....]

I want to make a <dtml-in> loop (in a ZSQL method) using these as values.
As far as I have understood, I then have to strip the [ ] from the var.
How do I do this?


Regards,
               A n d e r s  G a a r s d a l  H o l s t