Selecting a part of a word by search.