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

Grant Edwards grante at visi.com
Thu Nov 11 21:34:25 CET 2004

On 2004-11-12, Caleb Hattingh <caleb1 at telkomsa.net> wrote:

> I don't know why the function was set up this way.  However, an empty  
> string can be found in an infinite number of places within any other  
> string.

How so?  There aren't an infinite number of places _in_ a
finite-length string.

Grant Edwards                   grante             Yow!  Mr and Mrs PED, can I
                                  at               borrow 26.7% of the RAYON
                               visi.com            TEXTILE production of the
                                                   INDONESIAN archipelago?

More information about the Python-list mailing list