Locate Similarly by grep()
a %s=% b
a
vector for matching
b
vector for searching
A list contains location information.
1 %s=% c(1,12,3) c(1,2) %s=% c(1,12,3)