Learn R Programming

yulab.utils (version 0.2.0)

str_extract: str_extract

Description

Extract a substring using a pattern

Usage

str_extract(string, pattern)

Value

substring

Arguments

string

input string

pattern

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

Author

Guangchuang Yu