I don't quite get this "string".find()
premshree_python at yahoo.co.in
Thu Nov 11 21:40:34 CET 2004
--- Grant Edwards <grante at visi.com> wrote:
> On 2004-11-12, Caleb Hattingh <caleb1 at telkomsa.net>
> > 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.
What he probably meant was that you can find a zillion
empty strings between any two characters. That way.
IAC, find() returns the first position in the string
where the character/string is found -- which obviously
> Grant Edwards grante
> Yow! Mr and Mrs PED, can I
> borrow 26.7% of the RAYON
> TEXTILE production of the
> INDONESIAN archipelago?
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
More information about the Python-list