Einzelnen Beitrag anzeigen

scp

Registriert seit: 31. Okt 2003
1.120 Beiträge
 
Delphi 7 Personal
 
#6

Re: find hex codes in files

  Alt 24. Jul 2004, 12:54
Idx begins with value 1.
So if all Chars are matched Idx has a value of Length(SearchWord)+1
Declare the If-Statement like this:

Delphi-Quellcode:
        if (idx = Length(SearchWord)+1) then
        begin
  Mit Zitat antworten Zitat