Thats correct, occursin
is for checking whether one string occurs in another string, like occursin("Hey", "HeyHo")
.
If you want to check whether the strings in Array A
are in Array B
, you can still use in.(A, Ref(B))
.
Or if you want the index, indexin(A,B)
.
2 Likes