Description: A prefix of a word is a word over the symbols it consists of. (Contributed by AV, 3-Dec-2022)