結果 : javascript last instance of character in string