Скачать Advanced Boyer-Moore String Search for Turbo Pascal

Скачать файл (8,18 Кб)

The original programs from Costas Menico were made for a searching a string in a string, like the Pascal POS command.

I have made modifications to search a string in a ARRAY of CHAR, i.e. in a zero terminated string or in any buffer. But naturally, you can use it for normal string buffers. Look at the demo BUFSERACH.PAS

For details about the original programs and the BM algorithm see POSBM.DOC.