Results 1 to 2 of 2

Thread: How do you get just 'thingy.dot' from 'http://something/something/etc/thingy.dot'

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2001
    Posts
    29

    How do you get just 'thingy.dot' from 'http://something/something/etc/thingy.dot'

    Hello,

    In other words, I need to get just the filename from any address string, either on internet or local drive.

    Is it a case of reverse searching the string for a "/" and doing some sort of Len function to ignore the address part of the string or is there some other way?

    Thanks for any help you may have.

  2. #2
    AIS_DK
    Guest
    try:

    Code:
    strres = Mid(strsource, InStrRev(strsource, "/") + 1)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width