This behavior seems strange to me: the find method of a string returns the position zero when you search for an empty string (granted, I can't quite figure out why you'd search for an empty string, either).
>>> 'abc'.find('') 0 Anyone care to share a good explantion for this behavior and possible use cases? Thanks! Take care, Don _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor