> I just realized I need to split a potentially pretty long textfield
> input from a web form into 2000 character chunks, for input into a
> database. I see a lot of string functions in DTML, but none that
> looks like it will do this..
string slices.
somestring[:1999] is the first 2000 characters of somestring.
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
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 )