stri_subset: Obtains the subset of strings that don't have the pattern

Description Usage Arguments Examples

View source: R/string_functions.R

Description

stri_subset is a wrapper of str_subset that obtains the subset of strings that don't contain the pattern

Usage

1

Arguments

string

Input vector. Either a character vector, or something coercible to one.

pattern

Pattern to look for.

Examples

1
2
 fruit <- c("apple", "banana", "pear", "pinapple")
 stri_subset(fruit, "p")

welch16/rwlib documentation built on Jan. 13, 2020, 1:27 p.m.