2个不错的通配符比较函数[4]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 fsxlh 的 blog

           end;

      else begin //match given single char.
             if (asource[0] <> apattern[0]) then
             begin
               result := false;
               break;
             end;

             //continue testing next char...
             inc(asource);
             inc(apattern);
           end;
    end;
  end;
end;

function matchpattern(const apattern, asource: string): boolean;
begin
  result := _matchpattern(pchar(apattern), pchar(asource));

本文关键:2个不错的通配符比较函数
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top