Python String Position Of Substring Method In Apex