How to get intersection of strings in R tidy? Not union
I have two vectors of strings and I want to make an intersection and concatenate them into a new vector.
I found a complicated way to do it.
Is there a tidy function to use?
I have two vectors of strings and I want to make an intersection and concatenate them into a new vector.
I found a complicated way to do it.
Is there a tidy function to use?