Substring Index Python Find Method