I want to find a string within another string in R. The strings are as follows. I want to be able to match string a to string b as and the out put should be a == b
which returns TRUE
a <- "6250;7250;6251"
b <- "7250"
a == b #FALSE