powered by
Extract words from a vector that are not found in another vector.
str_extract_nomatch(x, y)
A vector of words.
A vector of words to test against.
x, with the words found in y removed.
# NOT RUN { str_extract_nomatch( x = c("a", "dog", "went", "to", "the", "store"), y = c("dog", "to", "store") ) # }
Run the code above in your browser using DataLab