[Zope] How to test whether something is a string?

Hung Jung Lu hungjunglu@hotmail.com
Wed, 29 Dec 1999 14:42:52 PST


Hi,

In DTML, is there anyway of testing whether something is
a string?

(This is because I am using the <SELECT MULTIPLE...> form
in submitting a HTML form. For single choice, the object
submitted is a string, for mulitple choices, the object
submitted is a list of strings. It would be helpful if
I could test the type of the submitted object.)

regards,

Hung Jung

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com