這是我使用的JavaScript代碼:. const lastItem = thePath.substring(thePath.lastIndexOf('/') + 1). 這是如何運作的? 這 thePath 字符串包含路徑。
確定! 回上一頁