Page 3 of 3

Posted: Sun Apr 27, 2008 6:43 pm
by rsts
Was looking for some fast search options and happened on this thread.

Mr Vooijs' search above seemed very good for my needs, but seemed to fail if the search string is only 1 char.

Changing line 35 to
CMP Ecx, 0 ; compare to length of zero since the jmp is for a greater than

appears to fix the problem, but since assembler is no longer my forte (since 35 years ago), you may want to test it first :)

cheers

Posted: Mon Apr 28, 2008 1:52 am
by pdwyer