Yes it does, but it’s going to return everything after the last slash in the string. This means if you have a query string on the end of a URL then you’ll get that back as well. As long as it’s just a path to the file, then you should be good to go.
Spotted an error?
If you've seen something in this article that needs changing, whether it's a technical inaccuracy or a typo, please let us know by reaching out to the team.
Load comments