Tag: First occurrence of strings in R