結果 : remove start and end character from string javascript