[Zope] Extracting a part of a string

Dieter Maurer dieter@handshake.de
Fri, 29 Jun 2001 22:54:45 +0200 (CEST)


sbergmann@weblog.de writes:
 > I have a string from a database and want to delete a part...
 > ...
 > But there is no function to get the string from 
 > index 0 to the result  index of "find".
"s[:index]"


 > <br><font size=2 face="sans-serif">Hello Zopers,</font>
Please do not post HTML.
Makes more work to reply to.


Dieter