結果 : find nth instance of character in string python