本文整理自网络,侵删。
function PosAnsi(const Substr, S: AnsiString): Integer;var P: PAnsiChar;begin Result := 0; P := AnsiStrPos(PAnsiChar(S), PAnsiChar(SubStr)); if P <> nil then Result := Integer(P) - Integer(PAnsiChar(S)) + 1;end;
相关阅读 >>
Delphi indy 组件包里的 idhttp 组件使用 get 方法下载文件限速的方法
Delphi enablecontrols,disablecontrols函数
更多相关阅读请进入《Delphi》频道 >>