jim holtman wrote: >> matches <- sapply(result, function(x){ > + .comma <- strsplit(x, ',')[[1]] # get the fields > + any(my.list %in% .comma) > + }) Thanks for that! Joh