strsplit2: Function to split strings with the option to not remove the...

Description Usage Arguments

View source: R/strsplit2.R

Description

Function to split strings with the option to not remove the split

Usage

1
strsplit2(x, split, type = "remove", perl = FALSE, ...)

Arguments

x

character vector

split

character vector to use for splitting

type

how to split, 'remove' to the split, 'before' to keep the split to the left and 'after' to keep the split to the right. Defaults to 'remove'.

perl

logical. Should Perl-compatible regexps be used?

...

other arguments to be passed to strsplit


alberto-mateos-mo/covid19mx documentation built on Nov. 2, 2020, 10:26 a.m.