-On [20080108 09:51], John Machin ([EMAIL PROTECTED]) wrote: >Make that >= > >| >>> 'fubar'.find('fu')
Or even just: if 'my-string' in line: ... Same caveat emptor applies though. -- Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ We're walking this earth. We're walking this shining earth... -- http://mail.python.org/mailman/listinfo/python-list