str_extract_base: Extract Patterns from Character Strings

View source: R/str_extract_base.R

str_extract_baseR Documentation

Extract Patterns from Character Strings

Description

This is a utility function that follow the pattern of stringr::str_extract_all. It is provided to avoid the dependency on the stringr package.

Usage

str_extract_base(x, pattern)

str_split_fixed_base(x, pattern, n)

Arguments

x

character vector.

pattern

character(1) of the pattern to find in x

n

The number of splits.

Source

https://stackoverflow.com/a/27274231/1017276

See Also

stringr::str_extract_all


pixiedust documentation built on Oct. 10, 2023, 9:07 a.m.