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