結果 : javascript find last instance of character in string