Strip file from URL
Hi guys/gals.
I am looking for a method to extract the file name from a URL. For
example,
http://www.somehost.com/downloads/v1.0/thisprogram.exe
I need to be able to extract "thisprogram.exe" from the URL/I and I
have no idea how to do this. I have searched for methods and even
tried doing so with pos() and some relevant characters, but all with
no success.
So, if anyone has a function/procedure laying around that can do this
and you don't mind sharing, I would be eternally grateful.
Using D6 on Windows XP Professional.
Thanks in advance,
-- Ryan
.
Relevant Pages
- Re: Extract numbers from a string
... "Ryan" schrieb im Newsbeitrag ... > I am trying to write a c# function to extract all numbers out of a string. ... (microsoft.public.dotnet.languages.csharp) - Re: Vlookup with part match
... Thanks Ryan, not quite what I wanted but a good example of using Substitute ... to extract the data to find a match on but this then effects other ... worksheets that link in. ... (microsoft.public.excel.worksheet.functions) - Re: OE6 VERY slow
... You can either extract this file from your ... Sometimes removing or disabling Windows Messenger causes OE ... your folders. ... This is usually caused by corruption in the Identities registry ... (microsoft.public.windows.inetexplorer.ie6_outlookexpress) - Re: windows XP home edition CD
... >> i need to know how to extract a file off my XP CD, ... computer (WinXP Pro ... >You should have SP1 installed. ... >the Windows logo key and the Pause/Break key at the same ... (microsoft.public.windowsxp.general) - Re: WOWEXEC.exe..... - Lengthy response
... Some info on Wowexec.exe errors and if need to, how to extract the file from the ... WOWEXEC is short for "Windows on Windows Execute" and is a helper program used ... Or create a system restore point prior to editing. ... To extract information from a .cab file in Windows XP: ... (microsoft.public.windowsxp.general) |
|