Returns all possible words from a given character string