> 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]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to