S sohil66 New Member Licensed User Longtime User Feb 11, 2014 #1 Hi, If I have Link, I want get file name+extension from the link : for example : if the link : www.xxx.com/images/download/androi.png I want get : androi.png
Hi, If I have Link, I want get file name+extension from the link : for example : if the link : www.xxx.com/images/download/androi.png I want get : androi.png
LucaMs Expert Licensed User Longtime User Feb 11, 2014 #2 Code: Copy Dim Link, FileName As String Link = "www.xxx.com/images/download/androi.png" FileName = Link.SubString(Link.LastIndexOf("/") + 1) ' Read the help for the Substring and LastIndexOf functions, as you type them Upvote 0
Code: Copy Dim Link, FileName As String Link = "www.xxx.com/images/download/androi.png" FileName = Link.SubString(Link.LastIndexOf("/") + 1) ' Read the help for the Substring and LastIndexOf functions, as you type them