str_extract_base {pixiedust}R 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


[Package pixiedust version 0.9.4 Index]