I don't quite get this "string".find()

David Fraser davidf at sjsoft.com
Thu Nov 11 21:48:19 CET 2004

Jaime Wyant wrote:
> Will someone explain this to me?
> 0
> Why is the empty string found at position 0?

It's found there because it is there!

At any position, you can find an empty string because it is so short...


More information about the Python-list mailing list