Right now I\'m working with a character vector in R, that i use strsplit to separate word by word. I\'m wondering if there\'s a function that I can use to check the whole li
You're looking for grep():
grep()
grep("a", z) #[1] 1 3 grep("b", z) #[1] 1 2