Python String Position Of Substring Method