find word and find partial word utility functions.