本文整理自网络,侵删。
//uses strutils;
function ExtractUrlFileName(const Url: string): string;
var //www.delphitop.com
str:string;
begin
str:=reversestring(Url);
str:=copy(str,1,pos('/',str)-1);
str:=reversestring(str);
Result:=str;
end;
相反根据链接提取网址 http://www.delphitop.com/html/zifuchuan/1950.html
相关阅读 >>
Delphi 关于 beep、messagebeep 和 windows.beep
Delphi示例代码 android,ios,osx,windows,linux,html5
Delphi自动以管理员身份在vista 和 windows7 下运行程序
Delphi firedac 连接access mdb数据库的方法
更多相关阅读请进入《Delphi》频道 >>