We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd6fb7c commit 517f010Copy full SHA for 517f010
R/detect.r
@@ -19,7 +19,9 @@
19
#' \code{\link{boundary}()}. An empty pattern, "", is equivalent to
20
#' \code{boundary("character")}.
21
#' @return A logical vector.
22
-#' @seealso \code{\link[stringi]{stri_detect}} which this function wraps
+#' @seealso \code{\link[stringi]{stri_detect}} which this function wraps,
23
+#' \code{\link{str_subset}} for a convenient wrapper around
24
+#' \code{x[str_detect(x, pattern)]}
25
#' @export
26
#' @examples
27
#' fruit <- c("apple", "banana", "pear", "pinapple")
0 commit comments