Python Find Last Index Of Substring In String Cpp Functions Of Communication