If you just want to remove the last character of a string, you can use the slice method with startIndex set to 0 and endIndex set to -1.
確定! 回上一頁