[Zope] Trimming a text field in a form

Dieter Maurer dieter@handshake.de
Sun, 29 Jul 2001 23:54:59 +0200 (CEST)


Frank Tegtmeyer writes:
 > > What did Trim() do?
 > 
 > trim() typically removes whitespace at the beginning and end of a
 > string. I first saw it in dBase about 15 years ago, I think.
This is called "strip" in Python.
You find it in the "string" module.


Dieter