結果 : batch remove last character from string