string.find first before location

Ravi Teja webraviteja at gmail.com
Tue May 2 09:00:44 CEST 2006


text[:text.find('Here')].rfind('abc')




More information about the Python-list mailing list