str.find(targetStr)
str.index(targetStr) with exception
str.count(targetStr)
targetStr in str

which is the fastest way to check whether targetStr is in str?

thanks all
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to