結果 : find last dot in string javascript