str_within {DesignLibrary}R Documentation

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

Description

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

Usage

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


[Package DesignLibrary version 0.1.10 Index]