str_extract_base: 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.