To remove the last N characters from a string, call the slice() method with a start index of 0 and an end index of -N . For example, str.slice(0, -2) will ...
確定! 回上一頁