Return the word in the string by number

extract_word_by_index(string, n)

Arguments

string

character vector of length one

n

word number