結果 : get string without last character javascript