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.
Get more Simple Talk in Google Search
Want to see more articles from Simple Talk and Redgate? Add us as a preferred source and Google will show our content more prominently in your search results.
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