A simple algorithm based on the Boyer-Moore idea is presented for two-
dimensional string matching. The algorithm examines a strip of columns
at a time, and the shift of the pattern is based on a string of sever
al characters on a row. The expected running time is shown to be subli
near for random texts and patterns. The algorithm is easy to implement
, and it works well in practice.