str_within: Takes substring between matched strings. Avoids dependency on...

Description Usage Arguments

View source: R/helpers.R

Description

Takes substring between matched strings. Avoids dependency on stringr package.

Usage

1
str_within(string, pattern = "^(structure\\()|(, \\.Names)")

Arguments

string

A string. String from which substring is extracted.

pattern

A regular expression that matches the beggining and end of a substring


DesignLibrary documentation built on Oct. 18, 2021, 5:07 p.m.