Find a substring withing a string...

Michele Simionato mis6 at pitt.edu
Sun Jun 22 22:07:18 CEST 2003


FooBar <abc at attbi.com> wrote in message news:<MPG.195dc173b6aa75c2989a00 at netnews.attbi.com>...
> 
> Ah I just discovered that this box has an older Python on it.  

Too bad you don't have Python 2.3 installed ...

>>> 'hello' in 'hello,world'
True

             Michele




More information about the Python-list mailing list