if pos('.asp','/itcnc1/community/hangyechaxun/index.asp')=0 then
showmessage('not found!');
showmessage('not found!');
解决方案 »
- 获取硬盘物理序列号的delphi2010源码
- ShellExecute
- 三层中 怎么实现在客户端调用服务端的过程函数!
- 问前辈们一个思路
- TCP传输问题
- 如何取消DBGrid自动更新数据???急!!!在线等
- 如何把编码iso-8859-1的转换为gb2312?
- Delphi 中统计量数据量大的时候。。程序报EDBEngineer Error With.....大家帮忙。。救急!!
- 如何在我的电脑里增加一个虚拟文件夹
- 奇女!奇女!奇女!中华之绝观,不看不知道,一看吓一跳,令诸位男程序员汗颜的才女,不看别后悔啊!!!!!!!!!!!!!!
- 如何注册activeX(如:mscomm32)控件?
- OnFilterRecord出错了?
ShowMessage('不包含');
begin
if StrPos(PChar('.asp'), PChar('/itcnc1/community/hangyechaxun/index.asp')) <> nil then
ShowMessage('Substring found')
else
ShowMessage('Substring not found');
end;
procedure TForm1.Button1Click(Sender: TObject);begin
if StrPos('/itcnc1/community/hangyechaxun/index.asp','.asp' ) <> nil then
ShowMessage('Substring found')
else
ShowMessage('Substring not found');
end;
可以了!!