Learn R Programming

yulab.utils (version 0.2.3)

str_extract: str_extract

Description

Extract a substring using a pattern

Usage

str_extract(string, pattern)

Value

Substring

Arguments

string

Input string

pattern

Regular expression to extract

Author

Guangchuang Yu

See Also

Other str-utils: str_detect(), str_starts(), str_wrap()