toLastInstance: A function to extract the part of a string before the last...

Description Usage Arguments Examples

View source: R/string_manipulation.R

Description

Regex wrapper - find the last instance of a character and take only the string up to that point

Usage

1
toLastInstance(str, split_on, drop_last = T)

Arguments

str

a character string

regular_exp

a regular expression

Examples

1

BillyEhrenberg/FTutilityfuncs documentation built on March 5, 2020, 12:42 a.m.