check whether a character string begins with a string
grapes-begins_with-grapes.Rd
Escapes any special RegExp characters in the search term. A way to check whether the search term
(e.g. a variable name) is the beginning.
Just a simple shorthand so that inexperienced R users won't have to use somewhat complex functions such as grepl()
and stringr::str_detect()
.
You can also use \%starts_with\%.