Python Find First Occurrence In String, This method returns the index of the first occurrence or -1 if the substring is not found.