In this case it was a filesystem path, but this would work also for URLs. This is the JavaScript code I used: const lastItem = thePath.substring ...
確定! 回上一頁