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.
Think something needs changing?
If you've spotted something that needs update or review, please let us know by reaching out to the editor.
Load comments