grep.start.mult | R Documentation |
Returns the index (from str_list) of the firt matching string in sub_str
grep.start.mult(sub_str, str_list)
sub_str |
vector of strings |
str_list |
list of strings |
If found, an index value. Otherwise, NA
l = c('hi','bye','sigh','rye','nigh') sub = c('I','know','what','this','bye','function','sigh','does') grep.start.mult(sub,l)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.