結果 : cut string after specific character javascript