The function takes a word as input and returns a specific part of the word, such as a surname or a prefix.

