I'm having trouble extracting the first word from a list of words. I've tried substring, gsub, and str_extract but still haven't figured it out. Please advise. Thank you. Here is what I'm trying to do:
Word
"c("print", "printing", "prints")"
"c("take", "takes", "taking")"
"c("score", "scoring", "scored")"
I'm trying to extract the first word from the list that looks like this:
Extracted
print
take
score