If you are parsing URLs I would recommend the System.Uri class, such as:
Dim fullPath As String = "http://www.ssss.com/images/theimage.jpg?x=1"
Dim uri As New System.Uri(fullPath)
Dim fileName As String = System.IO.Path.GetFileName(uri.AbsolutePath)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.