Paul Prescod wrote:
> Just throwing it out but what about something like:
>
> found, index = text.index("abc")
>
> if found:
> doSomething(index)-1. str.index()'s semantics should not be different from list.index(). Georg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
