text_split_n: generic splitting strings into pieces of length n

Description Usage Arguments

View source: R/text_split.R

Description

generic splitting strings into pieces of length n

text_split_n defaul method

Usage

1
2
3
4
text_split_n(string, n, vectorize = FALSE)

## Default S3 method:
text_split_n(string, n, vectorize = FALSE)

Arguments

string

text to search through

n

length of pieces

vectorize

should function be used in vectorized mode, i.e. should a pattern with length larger than 1 be allowed and if so, should it be matched to lines (with recycling if needed) instead of using on element on all lines


stringb documentation built on Jan. 26, 2021, 1:07 a.m.