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-SMU/yulab.utils documentation built on April 14, 2025, 1:54 p.m.