Description: Define an operation which extracts prefixes of words, i.e. subwords (or
substrings) starting at the beginning of a word (or string). In other
words, ( S prefix L ) is the prefix of the word S of length
L . Definition in Section 9.1 of AhoHopUll p. 318. See also
Wikipedia "Substring" https://en.wikipedia.org/wiki/Substring#Prefix .
(Contributed by AV, 2-May-2020)