結果 : remove characters after specific character in string javascript