str-extract: str_extract

str_extractR Documentation

str_extract

Description

Extract a substring using a pattern

Usage

str_extract(string, pattern)

Arguments

string

input string

pattern

a regular expression to describe the pattern to extracted from the 'string'

Value

substring

Author(s)

Guangchuang Yu


yulab.utils documentation built on Sept. 11, 2024, 9:25 p.m.